Subdual damage scripts used in the PW Story module, City of Arabel. It is meant for PvP battles only, and allows players to knock out other players, as opposed to killing them.
Great idea, cant get the ondeath script to compile though.
Following your instructions
2. Go to Module Properties. Click Events, and click Edit
beside OnPlayerDeath.
3. At the very top of this file, add the following line:
#include "subdual_inc"
4. Find void main() and it's first opening curly
bracket '{'. Add in a blank line
below it, and type in the following:
if (CheckSubdual(GetLastPlayerDied())) return;
I get a no right bracket on expession. Sounds likea syntax
thing but for a no scripter like me its a show stopper.
Posted by Rocc ( ..xxx.xxx ) at 2002-11-24 13:53:00
The _inc file is an 'include' file, and does not need to
compile. To get a DM posessed NPC to subdue a PC, just
give it a subdual item to change it's mode, just like any
other PC. If you want NPCs to automatically subdue PCs,
it'll take a bit extra scripting on the NPC's AI.
Posted by Hotaru ( ..xxx.xxx ) at 2002-11-16 21:04:00
the _inc file won't compile either for some reason. "Error
Parsing Variable List", so the CheckSubdual fuction won't
work... or so it would seem. Yes, I have the same problem
as Asmodeus.
Posted by Asmodeus ( ..xxx.xxx ) at 2002-11-05 22:38:00
Cant seem to get the NPC's to subdual a PC?
Posted by Kingrames ( ..xxx.xxx ) at 2002-10-31 18:58:00
YYYYAAAAAAAAYYYYYYYY!!!!!
happy happy joy joy!!!!!!!!!!!!!11
You must be Logged In to post comments in this section.