HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger Problems!

09-15-2006, 11:42 AM#1
TFaLCoN
I tyred to remove the cinematic from my map, however. when i removed the cinematic, the leaderboard and timerwindow where no longer visible.

I made a short cinematic in my Map initialization, the trigger code is below here :

Trigger:
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Send transmission to (All players) from (Last created unit) named test : Play No sound and display test. Modify duration: Add 0.00 seconds and Wait
Cinematic - Turn cinematic mode Off for (All players)

I would like to remove this code, but i can't. can someone explain me if there is a sequence in Map initialization, what can cause that my leaderboard and timerwindow no longer work when i remove the cinematic?

Initialization:

Trigger:
Map initialization
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Send transmission to (All players) from (Last created unit) named test : Play No sound and display test. Modify duration: Add 0.00 seconds and Wait
Cinematic - Turn cinematic mode Off for (All players)
Visibility - Disable fog of war
Visibility - Disable black mask
Game - Set the time of day to 12.00
Game - Turn the day/night cycle Off
Player Group - Pick every player in (All enemies of Player 12 (Brown)) and do (Player - Set (Picked player) Current gold to 50)
Player - Set Player 5 (Yellow) Current gold to ((Player 5 (Yellow) Current gold) + 50)
Player - Set Player 6 (Orange) Current gold to ((Player 6 (Orange) Current gold) + 50)
Player Group - Pick every player in (All enemies of Player 12 (Brown)) and do (Player - Set (Picked player) Current lumber to 5)
Player Group - Pick every player in (All enemies of Player 12 (Brown)) and do (If (((Picked player) slot status) Equal to Is playing) then do (Unit - Create 1 Peasant for (Picked player) at ((Picked player) start location) facing Default building facing degrees) else do (Do nothing))
Trigger - Run Camera <gen> (ignoring conditions)
Trigger - Run Leaderboard <gen> (ignoring conditions)
Trigger - Run Units <gen> (ignoring conditions)
Trigger - Run Bounty <gen> (ignoring conditions)
Countdown Timer - Create a timer window for NewRound with title Next Level :
Countdown Timer - Start NewRound as a Repeating timer that will expire in 45.00 seconds

Leaderboard:

Trigger:
Leaderboard - Create a leaderboard for (All players) titled Level 1 - 40 lives ...
Player Group - Pick every player in (All allies of Player 1 (Red)) and do (If (((Picked player) slot status) Equal to Is playing) then do (Leaderboard - Add (Picked player) to (Last created leaderboard) with label (Name of (Picked player)) and value 0) else do (Do nothing))
Leaderboard - Sort (Last created leaderboard) by Value in Descending order
Leaderboard - Show (Last created leaderboard)

Thanks for your help!!!
09-15-2006, 11:50 AM#2
Rising_Dusk
*Points toward the trigger forum*
That's where this should have gone.

And you should put a trigger sleep of 0.0 in there.
That should fix it and allow you to manipulate it easier.
09-15-2006, 11:55 AM#3
TFaLCoN
i replaced the cinematic with

Trigger:
Wait 0.00 seconds

and it worked! thanks!