honger 114 Posted August 11, 2023 (edited) So every scenario every singleplayer scenario has an Intro and Outro Win/Lose phases. I get it that I can use the initIntro.sqf file just like I would use init.sqf for Scenario phase to add a code executed right from the Intro phase start. But how do I do the same for any of the possible outros? Wiki says that initIntro.sqf is used both for Intro and Outro phases but then how do I set up the file so game distinguishes which part is supposed to be played on Intro, and which one on Outro - Win? InitOutro.sqs existed only until Arma 1 or something so I can't use that. How do I make an init for my outro then? So far I've been just using a trigger within the Outro phase to start my code but there will always be a minimal delay between the Outro and my "post-Init". I need to know how do I include an init for my Outro and rewrite this damn wiki because it's amazing it hasn't been corrected in any readable-for-noobs way. Edited August 11, 2023 by honger Share this post Link to post Share on other sites
Harzach 2517 Posted August 11, 2023 26 minutes ago, honger said: every scenario Every Singleplayer scenario, MP has no intro/outro phases. That said, there must be a way for initIntro.sqf to detect which phase you are in, but I'm not aware of any commands that do this and the script itself is "dumb" in that it simply runs when one of the relevant phases is entered - it takes no params or anything. I suppose you could just set a variable in each phase and check for that. Share this post Link to post Share on other sites
honger 114 Posted March 2 Bumping this up in case someone knows an actual, proper way of executing the outro phase. As of now I set my scenario(s) in following way intro phase with code executed through initIntro.sqf (Arma 3 reads it automatically) the playable scenario part with init.sqf for startup code (obviously) outro phase with any unit/object placed and code in its init field: execVM "outro.sqf" I found somewhere deep in webs that Arma is supposed to run outro through initOutro.sqf but it probably is obsolete ever since the Outro phase has been split into Win and Loose. Good thing that initIntro.sqf is not checked twice (at least I think so? Not sure how to verify this) for Intro and Outro phases. Share this post Link to post Share on other sites