plhought Posted April 28, 2013 Posted April 28, 2013 Howdy, long time part-time mission builder; first time poster :). You may have spotted my 'Arnold's Intense Combat' server up every couple weekends. Just a quick question, me and my buddy enjoy adding lots of sounds and such to the missions, from cheesy Arnold quotes when units die ("See you at the party Richter!") to the occasional song to play while we screw around (Mighty Wings hahah). We usually add these to the mission through a MISSION START trigger with RADIO ITEM ADD, FLAG 1(or whatever), then a title. Then I use a ONCE, FLAG IS TRUE (1), SOUND TO ALL to play the sound. But, with this, I can only play the sound once. How do I reset the flag so we can play the sound later on? I've tried SWITCHED CONDITION, TIME SINCE FLAG (1,10), FLAG OFF - but that doesn't seem to work. Any ideas? :pilotfly:i7 7700K, GTX1660, 32 Gig-o-ram, Win 7.
Grimes Posted April 28, 2013 Posted April 28, 2013 You have to change the condition to: Switched Condition> Flag 1 is true> Sound to all And then either turn the flag off instantly like this: Switched Condition> Flag 1 is true> Sound to all AND Flag 1 Off or use two triggers to prevent "spamming" if there is such a thing with Arnold quotes: Switched Condition> Flag 1 is true> Sound to all Switched Condition> Time Since Flag 1 is 30 seconds> Flag 1 Off 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
plhought Posted April 30, 2013 Author Posted April 30, 2013 Many thanks! :pilotfly:i7 7700K, GTX1660, 32 Gig-o-ram, Win 7.
Recommended Posts