Hi everyone, I was trying (failing) to do a simple little trap test: a generic PUZZLE Spiked Floor trap that would apply poison status (indefinitely) on hit as well as the damage. However, I'm new to the scripting, and I cannot get the thing to poison the test dummy. It uses the trigger event AttackedByObject. My code is:
IF
AttackedByObject(_Defender, _AttackerOwner, <my Full GUIDSTRING>, _Damage, _Source)
THEN
ApplyStatus(_Defender, "POISONED",-1.0,2)
However, it does not seem to work. My dummy character is hit and suffers bleeding from the trap, but not poisoned.
Maybe the community can shed some light on my misfortune. I think it may have to do with the ordering of the scripts.