Home   Help Search Login Register  

Author Topic: End mission in Scipt  (Read 1265 times)

0 Members and 1 Guest are viewing this topic.

Offline jay1234

  • Members
  • *
End mission in Scipt
« 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.........

Offline Worldeater

  • Former Staff
  • ****
  • Suum cuique
Re: End mission in Scipt
« Reply #1 on: 02 Mar 2009, 13:02:27 »
Patience is a virtue. Please try to avoid double topics in the future.
« Last Edit: 02 Mar 2009, 13:34:46 by Worldeater »
try { return true; } finally { return false; }

Offline NightJay0044

  • Former Staff
  • ****
  • Let's make OFPEC great again
    • My Steam Workshop
Re: End mission in Scipt
« Reply #2 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
Who's hyped for Arma4, long live Arma!

Offline jay1234

  • Members
  • *
Re: End mission in Scipt
« Reply #3 on: 03 Mar 2009, 03:14:03 »
Cheers for that, ill give it a go :good: