Seemed like this question needed its own thread...
I want to set a custom detect DC, disarm DC, and experience script OnDisarm for a default NWN trap kit. Possible? How?
Setting a custom trap
Débuté par
Terrorble
, avril 22 2013 01:24
#1
Posté 22 avril 2013 - 01:24
#2
Posté 22 avril 2013 - 01:40
SetTrapDetectDC()
SetTrapDisarmDC()
The disarm script is the second to last argument for both CreateTrap functions
EDIT: Oops, I was veiwing your post in light of the other thread where traps were set by faction. For doing this from a player setting a trap (see the wiki for default behavior) you would need to look for the new trap just after the trap kit is lost to make changes. The disarm script for a trap produced this way cannot be changed AFAIK.
SetTrapDisarmDC()
The disarm script is the second to last argument for both CreateTrap functions
EDIT: Oops, I was veiwing your post in light of the other thread where traps were set by faction. For doing this from a player setting a trap (see the wiki for default behavior) you would need to look for the new trap just after the trap kit is lost to make changes. The disarm script for a trap produced this way cannot be changed AFAIK.
Modifié par WhiZard, 22 avril 2013 - 01:54 .
#3
Posté 22 avril 2013 - 03:37
Thanks WhiZard.
I didn't think to search for the lost kit. I may be able to live with this too since I may not allow PCs to get XP for disarming other PC traps anyway. And, this will save me some major time over what I was just about to attempt.
I didn't think to search for the lost kit. I may be able to live with this too since I may not allow PCs to get XP for disarming other PC traps anyway. And, this will save me some major time over what I was just about to attempt.





Retour en haut






