D. Patterson 14 Posted November 10, 2014 So, I want to keep it down to one file, and keep minimum the number of non-private variables. I think the best way to call it is via trigger. When the condition is met, "Spawn Object" addAction is added runs the script. When the condition ceases to be met, it will remove the action and delete the object. Share this post Link to post Share on other sites
jshock 513 Posted November 10, 2014 (edited) A couple of waituntils would probably suffice, one at the top of the script before the addAction command, then one after waiting for the condition to change, after which the object is deleted, you could also pass a boolean through the addAction into the script, and if true then delete the object. You shouldn't need a trigger with the above methodology. Edited November 10, 2014 by JShock Share this post Link to post Share on other sites