Falloutperson416 10 Posted July 18, 2014 So I've got some artillery set up that can be called via supports, and it works fine, but how can I make the ability to call the support disabled until a certain task has completed> Thanks in advance. Share this post Link to post Share on other sites
IT07 10 Posted July 20, 2014 Connect the support module to a trigger using the synchronise function and put this in the condition field of the trigger: !(isNil "CanIhazArtillery"); Then, put this in the on act field of the task you talked about: if (isNil "CanIhazArtillery") then { CanIhazArtillery = true; publicVariable"CanIhazArtillery"; }; Share this post Link to post Share on other sites
Falloutperson416 10 Posted July 20, 2014 Tasks don't have on Act fields. Where else can i put that last bit of code? ---------- Post added at 20:11 ---------- Previous post was at 20:04 ---------- Nevermind, I've found another way. I desynced the request module and the player, and a trigger has the code unit synchronizeObjectsAdd [object] and this works well. So, unit is the player name, object is the module name. Share this post Link to post Share on other sites
IT07 10 Posted July 20, 2014 Glad you sorted it out! Share this post Link to post Share on other sites