PDA

View Full Version : Race missions



Cobra5000
Jan 8 2012, 17:45
Do you know how i make a script/trigger or something else that if the rival vehicle win the race, the mission will failed but if the player's vehicle wins, the mission is completed?

Demonized
Jan 9 2012, 07:17
place 2 triggers in finnish area, group them to each of the racers, for the player make trigger end win, for the other make it end fail.

Cobra5000
Jan 9 2012, 18:02
Thanks but how i turn off/deactivate the lost trigger after the player wins and turn off/deactivate the win trigger after the player lost?

Because after the win trigger activated, the lost trigger also activated when the rival race reach the trigger.

Cobra5000
Jan 9 2012, 21:21
Thanks but how i turn off/deactivate the lost trigger after the player wins and turn off/deactivate the win trigger after the player lost?

Because after the win trigger activated, the lost trigger also activated when the rival race reach the trigger.

thanks anyway.

i did this thing:


on act- deleteVehicle trigWin for trigLose - my lost trigger

on act- deleteVehicle trigLost for trigLose - my win trigger