Is there much on the Vault that comes recommended as the best performing?
Thanks.
Modifié par GhostOfGod, 25 février 2012 - 10:19 .
Modifié par GhostOfGod, 25 février 2012 - 09:23 .
Note that scripting a reward for trap recovery is a bit more difficult. OnDisarm does not fire. Even for actual disarming and unlocking you might want to check whether the player is doing the action through a possessed pixie familiar.GhostOfGod wrote...
As for where the scripts go, the lock script just go in the OnUnLock event for anything locked and the trap script just gos in the OnDisarm event of anything that is trapped.
Modifié par WhiZard, 25 février 2012 - 05:02 .
WhiZard wrote...
Note that scripting a reward for trap recovery is a bit more difficult. OnDisarm does not fire. Even for actual disarming and unlocking you might want to check whether the player is doing the action through a possessed pixie familiar.GhostOfGod wrote...
As for where the scripts go, the lock script just go in the OnUnLock event for anything locked and the trap script just gos in the OnDisarm event of anything that is trapped.
henesua wrote...
AFAIK, OnDisarm does execute. Its worked in Vives for years.
However you need to check for GetLastUnlocked() to determine if the trap was disarmed.
Modifié par GhostOfGod, 25 février 2012 - 10:19 .
works for me for years, and for both door/placeable and ground traps, even those respawned via scripting commandWhiZard wrote...
OnDisarm does not fire.
Modifié par ShaDoOoW, 25 février 2012 - 10:36 .
I just did a ground trap that would send my character a message in the OnDisarmed event. The message was only sent when disarmed, not recovered.ShaDoOoW wrote...
works for me for years, and for both door/placeable and ground traps, even those respawned via scripting commandWhiZard wrote...
OnDisarm does not fire.
yes exactly, OnDisarm = when is trap disarmedWhiZard wrote...
I just did a ground trap that would send my character a message in the OnDisarmed event. The message was only sent when disarmed, not recovered.ShaDoOoW wrote...
works for me for years, and for both door/placeable and ground traps, even those respawned via scripting commandWhiZard wrote...
OnDisarm does not fire.
Modifié par ShaDoOoW, 26 février 2012 - 03:53 .
ShaDoOoW wrote...
recovering trap fires OnAcquire
GhostOfGod wrote...
And good suggestion with the "pixie" as OP did specify rogue. Something else we considered at the time but opted to leave that alone as well. Gave people a reason to be a pixie.
WoC_Builder wrote...
Yes, what I am looking at is rewarding those who are functioning in their class-skills, not someone who simply cross-classed and took 1 pt. of open lock and has some gloves and a ring to boost.
Modifié par Snowbug, 27 février 2012 - 05:07 .