vanatos Posted January 4, 2016 Share 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? Link to comment
Jarno Mikkola Posted January 4, 2016 Share 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 Link to comment
vanatos Posted January 4, 2016 Author Share 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. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.