vanatos Posted January 4, 2016 Posted January 4, 2016 So (per my experience) when a script block is executed, it will interrupt whatever the npc is currently doing (attacking or moving). Is there anyway to prevent this?
Jarno Mikkola Posted January 4, 2016 Posted January 4, 2016 Well, yes, code the script correctly, aka make sure the character isn't doing anything first, with action list empty check: Trigger.ids: 0x402B ActionListEmpty() So: IF ActionListEmpty() See(NearestEnemyOf(Myself)) THEN RESPONSE #100 AttackReevaluate(NearestEnemyOf(Myself),30) END
vanatos Posted January 4, 2016 Author Posted January 4, 2016 Actually what i wanted was a way to set globals without interrupting someone in combat. But i don't require it anymore thanks anyway.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.