Guest morpheus562 Posted June 17, 2023 Share Posted June 17, 2023 Greetings, I'm running into an interesting issue with the enhanced powergaming scripts where it appears having a response of SetGlobal() will actually cancel out a player queued action. Should setting a global do this? Is there a way to set a global and not have it cancel the player action? Thank you! Quote Link to comment
argent77 Posted June 17, 2023 Share Posted June 17, 2023 (edited) Afaik every action performed by an actor (either directly or via ActionOverride()) will cancel their queued actions. You could try to apply the variable via spell effect (performed by a helper creature, etc.), which should not interrupt scripting. Edited June 17, 2023 by argent77 Quote Link to comment
Guest morpheus562 Posted June 17, 2023 Share Posted June 17, 2023 8 hours ago, argent77 said: Afaik every action performed by an actor (either directly or via ActionOverride()) will cancel their queued actions. You could try to apply the variable via spell effect (performed by a helper creature, etc.), which should not interrupt scripting. The goal is to detect when the player is using a spell, ability, or item so that the scripts know to not immediately queue a new action if it is on cooldown. @Bubb was helpful as always with EEex and I can use that to indirectly get around having to use a helper creature. I'm gonna have to do some other updates, I think, due to this information to make things even more optimal. Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.