OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: KoniaX on 24 Jul 2004, 03:04:29

Title: Scripting commands
Post by: KoniaX on 24 Jul 2004, 03:04:29
Hey everyone. I was just wondering... I know how from scripting I can make triggers and waypoints activate, but can I do it backwards? Such as once a trigger activates, then it will end the cutscene? If someone could answer this, it would be very helpful.
Title: Re:Scripting commands
Post by: Dubieman on 24 Jul 2004, 04:26:20
If its a cutscene wouldn't

_cam cameraeffect ["terminate", "back"]
camdestroy _cam

suffice as once the camera is gone, the control returns to the player.

If its an intro, just end it. Like when a unit reaches a certain place just have a trigger activated by it and make it end1 and then the mission will start with the briefing.

Same with an outro except the whole mission will end.