Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Intro to mission?  (Read 1864 times)

0 Members and 1 Guest are viewing this topic.

Offline Rytuklis

  • Members
  • *
Intro to mission?
« on: 21 Jun 2011, 10:03:53 »
Hello there. Before asking a question- yes , i did search, but all results was about "Switch " trigger and waypoints. And i need another help.
I have made a cutscene in intro. But when cutscene stops, camera returns to my soldier and i cant move or do antyhing so i have to press SPACE to "skip" the cutscene and only then mission plays. How can i make intro to switch to the mission after "cutscene.sqs" is over? thanks

Offline Lenyoga

  • Professor of Misanthropology
  • Members
  • *
Re: Intro to mission?
« Reply #1 on: 21 Jun 2011, 20:10:22 »
Hi. I always create a trigger with the condition "EndMission" (And there is a list in the trigger dialog where you can choose something like "End 1" - choose this) in it's condition field (usually they have 'this' or something in it) and then edit the cutscene.sqs:
Put something like

Code: [Select]
_camera cameraEffect ["terminate","back"]
camDestroy _camera

EndMission = true

at the end of the script.

I think that should work. At least it does in my missions. Sorry if I sound a bit confused; I'm not a serial killer.
« Last Edit: 21 Jun 2011, 20:14:27 by Lenyoga »
As a grandmother I've got lots of gold.