OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: jay1234 on 02 Mar 2009, 12:21:36

Title: End mission in Scipt
Post by: jay1234 on 02 Mar 2009, 12:21:36
Hi, im making a zombie mission and i end all missions with an outro movie, i was wondering if you can end the game with code on the camera script im using?

If not can you make it that a trigger with the End#1 wont activate until the script is finished?

If u have any idear thx.........
Title: Re: End mission in Scipt
Post by: Worldeater on 02 Mar 2009, 13:02:27
Patience is a virtue. Please try to avoid double topics in the future.
Title: Re: End mission in Scipt
Post by: NightJay0044 on 02 Mar 2009, 14:45:15
Hi, yeah this should be able to work.

At the end of your intro mission file, type this before the exit code;

End1=true

this is just a variable to make End1 true within the game.

Then create a trigger with type End1 and type End1 in the condition field. That should make it only end after the intro is completed.

Hope that works, it may not because ArmA Is different then OFP, but it should..

At Best,
NightJay
Title: Re: End mission in Scipt
Post by: jay1234 on 03 Mar 2009, 03:14:03
Cheers for that, ill give it a go :good: