aceflier Posted November 13, 2010 Posted November 13, 2010 What im trying to do is make when a group dies i want a 50/50 chance that 2 other groups would come in and only 1 of the 2 are spawned this is what I have is it correct or no? [sIGPIC][/sIGPIC]
Grimes Posted November 13, 2010 Posted November 13, 2010 Yep that works. but if you want to save flags... I know... its just one flag. but I assume you are only going to do this once so it doesn't matter... Once> Flag 5 is False, Random, and Flag 2 is true > Spawn group1 Flag on 5 Once> Flag 5 is False, Random, and Flag 2 is true > Spawn group2 Flag on 5 so basically once it chooses one, the other cannot possibly be chosen. Also if flag 2 has no other use you can just use that instead. Once> Random, and Flag 2 is true > Spawn group1, Flag off 2 Once> Random, and Flag 2 is true > Spawn group2, Flag off 2 1 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
aceflier Posted November 13, 2010 Author Posted November 13, 2010 Thanks Grimes! This stuff is confusing hard to wrap my head around flags. [sIGPIC][/sIGPIC]
Recommended Posts