so far i was able to make my rogue npc to automatically move to a trap and disable it...
the problem is... npc likes the trap so much, even when is disabled... it keeps trying to disable it again...
the trap was found with:
// *Thief - Disable Traps*
IF
See([126.0.255.0.0.0.0])
THEN
RESPONSE #100
//DisplayStringHead(Myself,519) //"Help me! If you don't help me, they'll kill me."
RemoveTraps([126.0.255.0.0.0.0])
END
// *Scout - Detect Traps*
IF
ActionListEmpty()
OR(2)
Class(Myself,THIEF_ALL)
Class(Myself,MONK)
!ModalState(DETECTTRAPS)
!ModalState(STEALTH)
Global("u_AnyoneDetectEnemy","GLOBAL",0)
THEN
RESPONSE #100
FindTraps()
END
the problem is... npc likes the trap so much, even when is disabled... it keeps trying to disable it again...
the trap was found with:
// *Thief - Disable Traps*
IF
See([126.0.255.0.0.0.0])
THEN
RESPONSE #100
//DisplayStringHead(Myself,519) //"Help me! If you don't help me, they'll kill me."
RemoveTraps([126.0.255.0.0.0.0])
END
// *Scout - Detect Traps*
IF
ActionListEmpty()
OR(2)
Class(Myself,THIEF_ALL)
Class(Myself,MONK)
!ModalState(DETECTTRAPS)
!ModalState(STEALTH)
Global("u_AnyoneDetectEnemy","GLOBAL",0)
THEN
RESPONSE #100
FindTraps()
END









