Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-18-2001, 06:16 AM
CrazedMerlin CrazedMerlin is offline
Some Guy :\
Join Date: Apr 2001
Posts: 3,619
CrazedMerlin is on a distinguished road
Send a message via AIM to CrazedMerlin Send a message via Yahoo to CrazedMerlin
question

with a npc server how can you make a npc weapon edit your mp?
because the regular way does not work...
  #2  
Old 08-18-2001, 06:42 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
lolz
u mean ap i hope.
mp just playermp= whatever
playerap u cant edit it with the normal way (u can still make pk beer though)
but it doesnt let u permanently edit ap
im not sure with npc server
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
  #3  
Old 08-18-2001, 06:59 AM
CrazedMerlin CrazedMerlin is offline
Some Guy :\
Join Date: Apr 2001
Posts: 3,619
CrazedMerlin is on a distinguished road
Send a message via AIM to CrazedMerlin Send a message via Yahoo to CrazedMerlin
no mp
it goes up but the npc server makes it go back down
  #4  
Old 08-18-2001, 07:22 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
oh you mean the npc server makes it go down
never knew.
there is prolly a way to edit mp ;\ i understant ap but if mp isnt editable then its basically useless
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
  #5  
Old 08-18-2001, 04:52 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Quote:
Originally posted by CrazedMerlin
no mp
it goes up but the npc server makes it go back down
Well, there is a way of doing it...
If you have NPC control, add the following to the NPC named Control-NPC:
NPC Code:
if (actionservertakemp) {
with (getplayer(#p(0))) playermp-=strtofloat(#p(1));
}


And then put in the weapon which uses the MP instead of playermp-=mpcost:
NPC Code:
triggeraction 0,0,servertakemp,#a,mpcost;


Which is basically a way of fooling the NPC Server to make it work.
__________________


Last edited by grim_squeaker_x; 08-18-2001 at 08:33 PM..
  #6  
Old 03-28-2002, 07:06 AM
DragonLX2k1 DragonLX2k1 is offline
Registered User
Join Date: Mar 2002
Location: Texas
Posts: 26
DragonLX2k1 is on a distinguished road
Send a message via AIM to DragonLX2k1
Quote:
Originally posted by LiquidIce00
lolz
u mean ap i hope.
mp just playermp= whatever
playerap u cant edit it with the normal way (u can still make pk beer though)
but it doesnt let u permanently edit ap
im not sure with npc server
Does anyone have the pk beer script?
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.