help with cinematic at end of level

Status
Not open for further replies.
Level 3
Joined
Oct 5, 2010
Messages
26
i am making a level with a cinematic at the end, which starts as soon as the player completes his victory condition. My victory condition is having Unit X within 100 range of Unit Y and then the cinematic start with letterbox and so on and they talk. However, when I put in the triggers the cinematic started at the start of the level instead. The cinematic runs fine but I have to get it to play after the level. Can someone help me with the triggering pls?
 
Level 5
Joined
Jun 14, 2009
Messages
106
Well I need to see the triggering to be sure of what the problem is. However if unit X and unit Y are custom variables (not editor created variables) their initial value is No unit and so at map initialization that is their value. Therefore the trigger event reads: "When no unit comes within 100 of no unit" and so the cinematic runs when the game starts.

To fix a problem like this, you need to set the variable values at map initialization or turn off the trigger and turn it on again after a certain time period.
 
Status
Not open for further replies.
Top