maxmax Posted July 8, 2011 Posted July 8, 2011 Hello again, I couldn't find a solution to this, so I'll post another question. If it's at all possible, how does one use static objects in triggers? For example so that the mission objective is to destroy an ammo dump. When the dump is destroyed, the trigger activates. I have the feeling that I've read somewhere that it's not possible. And that a workaround would be to place one ai inside/on the static object and use that for the trigger. Does that work?
Grimes Posted July 8, 2011 Posted July 8, 2011 The static objects that are placed in the mission editor work with triggers. World objects (stuff that exists by default) need the workaround. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
maxmax Posted July 8, 2011 Author Posted July 8, 2011 How do you use the statics? Is it something that pops up in the lists when creating triggers? I had a quick look earlier, but couldn't find anything.
nomdeplume Posted July 8, 2011 Posted July 8, 2011 Statics are treated as individual units. So for an ammo dump, you just need a trigger with a condition 'unit dead' and select the name you gave your ammo dump from the list.
maxmax Posted July 8, 2011 Author Posted July 8, 2011 (edited) Ah, it was that simple. I must just have been blind or stupid or both. Thanks for the help :) *EDIT* I think my problem was I just looked at using them as groups. Silly me. Edited July 8, 2011 by maxmax
Recommended Posts