BlacKnightBK 47 Posted February 26, 2017 Hello Guys, I do not quite understand the allMissionObjects command. How does it exactly work? And if I use it to delete things created during the mission how do I know it will not delete the ones created for another mission. thanks Share this post Link to post Share on other sites
gc8 981 Posted February 26, 2017 1 hour ago, BlacKnightBK said: Hello Guys, I do not quite understand the allMissionObjects command. How does it exactly work? And if I use it to delete things created during the mission how do I know it will not delete the ones created for another mission. thanks Hi allMissionObjects is an array so you can loop it through with foreach command. and like the wiki says it contains "mission objects (created by or during a mission)" https://community.bistudio.com/wiki/allMissionObjects { player sidechat format["Object: %1 Type: %2 ", _x, typeOf _x]; } foreach (allMissionObjects "All"); Share this post Link to post Share on other sites
BlacKnightBK 47 Posted February 26, 2017 1 hour ago, gc8 said: Hi allMissionObjects is an array so you can loop it through with foreach command. and like the wiki says it contains "mission objects (created by or during a mission)" https://community.bistudio.com/wiki/allMissionObjects { player sidechat format["Object: %1 Type: %2 ", _x, typeOf _x]; } foreach (allMissionObjects "All"); You have just given me an idea, thank you :) Share this post Link to post Share on other sites