Posted: Tue Jul 19, 2011 11:59 pm Post subject: trigger help
I'm having a bit of a problem with a trigger. The trigger is meant to heal the PC when it is spread over the body, but if it's in the PC's inventory it doesn't let them use it...it does let them use it if they drop it...could somebody tell me what i'm doing wrong?
Name: 'embaming fluid', VNum: [ 302], RNum: [ 26]
Trigger Intended Assignment: Objects
Trigger Type: Command , Numeric Arg: 100, Arg list: spread
set sa %send% %actor%
set ea %echoaround% %actor%
if %arg% == fluid || %arg% == jar || %arg% == embalm
%sa% You spread the embalming fluid over your body.
%ea% %actor.name% spreads the embalming fluid over %actor.hisher% body.
dg_cast 'cure light' %actor.name%
For this trigger to fire on carried objects, the numeric arg must be 2 _________________ For all intents and purposes retired trigedit maintainer (new name for DG scripts from next version)
Build for yourself at the Builder Academy.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum