Home   Help Search Login Register  

Author Topic: problem with trigger  (Read 611 times)

0 Members and 1 Guest are viewing this topic.

Tokra

  • Guest
problem with trigger
« on: 27 Feb 2003, 21:32:14 »
ok makin a   fugitives mission everything in the mission works except 1 last trigger:

the trigger is basically to check if resistance have reacht he extraction zone:

Code: [Select]
axis a : 6 axis b : 6
Ativation: Resistance
Once
Present
Type: End#2
On activation: [] exec "cutscene1.sqs"

Cutscene is quite simple

Code: [Select]
_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "back"]

_cam camsettarget wreck3
_cam camsetrelpos [-5,10,3]
_cam camcommit 0
@camcommitted _cam


~2
titlecut ["Fugitives Have Escaped","PLAIN",3]
_cam camsettarget wreck3
_cam camsetrelpos [-5,10,3]
_cam camcommit 0
@camcommitted _cam

~2
titlecut ["Soviets Lose!","PLAIN",2]
_cam camsettarget cobraone
_cam camsetrelpos [-5,10,3]
_cam camcommit 4
@camcommitted _cam

~2

titlecut ["Game Over!","Plain",30]

~2

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

exit

to the person ativating this trigger the game ends as it should but it doesn't cut everone else.

help would be appreciated.

seanver

  • Guest
Re:problem with trigger
« Reply #1 on: 27 Feb 2003, 22:08:04 »
Well, I see something that may be wrong.

Type: End#2 <== Set it as NONE.

Now, as it looks like you want to end the mission once the cutscene has been shown, put at the end of the cutscene script: final=True

Now create another trigger, On Condition: final. Type: End#2

Hope this helps

Tokra

  • Guest
Re:problem with trigger
« Reply #2 on: 02 Mar 2003, 17:15:05 »
cheers m8