wolpak Posted November 25, 2021 Share Posted November 25, 2021 Every time a block is triggered true, it stops my characters dead in their tracks. Is this expected behavior? Like, if I want to continuously check for something in the background, when it does occur, is that supposed to stop all other actions? Quote Link to comment
jastey Posted November 25, 2021 Share Posted November 25, 2021 Yes, that is expected behavior. If a character executes a script block then this is what the creature does in that moment - even if it's just an action to check for something, and it interrupts whatever the creature was doing including executing a player's command. This is why all script blocks should contain checks whether the creature isn't actually in combat etc. before a script block can be executed. Quote Link to comment
wolpak Posted November 26, 2021 Author Share Posted November 26, 2021 Ok, just to double check. i have a spell set a local variable (which will be unique for each member of my party), there is no way for me to script to check this variable (since it’s local, it has to be in their player scripts) to check the current value? I just want to make sure before I just give up, since I have the rest of the infrastructure In place. Quote Link to comment
Ardanis Posted November 28, 2021 Share Posted November 28, 2021 You can TriggerOverride(Player2,Global("local_var","locals",1)) to check personal values from external point of view. 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.