- Joined
- Jul 27, 2005
- Messages
- 22
I am creating a td, and I need help with a trigger...
Heres my trigger that sets up my timer
Heres the trigger that needs to launche when the timer expires
Heres the trigger that I use to set my variables
I need this trigger:
to launch when the timer expired.
Any help please! thanks!!!
If you need another trigger posted, tell me
Heres my trigger that sets up my timer
Code:
Set Timer Up
Events
Time - Elapsed game time is 2.01 seconds
Conditions
Actions
Countdown Timer - Create a timer window for Next_Level with title Next Level in
Countdown Timer - Start Next_Level as a One-shot timer that will expire in 29.50 seconds
Countdown Timer - Change the color of the time for (Last created timer window) to (100.00%, 80.00%, 20.00%) with 0.00% transparency
Countdown Timer - Show (Last created timer window)
Heres the trigger that needs to launche when the timer expires
Code:
Core Funtion
Events
Time - Next_Level expires
Conditions
Actions
-------- Setup Timer --------
Countdown Timer - Pause Next_Level
Countdown Timer - Destroy (Last created timer window)
-------- Create Units --------
Unit - Create (Monster_Amount + 0) Monster_Type for Player 12 (Brown) at (Center of Region 000 <gen>) facing Default building facing degrees
-------- Level Info --------
Game - Display to (All players) the text: ((Level + (String(Level_Number))) + ( - + ((Name of (Last created unit)) + <Empty String>)))
-------- Misc. --------
Unit Group - Pick every unit in (Units owned by Player 12 (Brown)) and do (Unit - Set (Picked unit) acquisition range to 0.00)
Heres the trigger that I use to set my variables
Code:
Set Levels
Events
Conditions
Defeat Equal to False
Actions
-------- Level 1 --------
If (Level_Number Equal to 1) then do (Set Monster_Type = Peasant) else do (Do nothing)
If (Level_Number Equal to 1) then do (Set Monster_Amount = 10) else do (Do nothing)
-------- Level 2 --------
If (Level_Number Equal to 2) then do (Set Monster_Type = Militia) else do (Do nothing)
If (Level_Number Equal to 2) then do (Set Monster_Amount = 10) else do (Do nothing)
-------- Level 3 --------
If (Level_Number Equal to 3) then do (Set Monster_Type = Footman) else do (Do nothing)
If (Level_Number Equal to 3) then do (Set Monster_Amount = 10) else do (Do nothing)
I need this trigger:
Code:
Core Funtion
Events
Time - Next_Level expires
Conditions
Actions
-------- Setup Timer --------
Countdown Timer - Pause Next_Level
Countdown Timer - Destroy (Last created timer window)
-------- Create Units --------
Unit - Create (Monster_Amount + 0) Monster_Type for Player 12 (Brown) at (Center of Region 000 <gen>) facing Default building facing degrees
-------- Level Info --------
Game - Display to (All players) the text: ((Level + (String(Level_Number))) + ( - + ((Name of (Last created unit)) + <Empty String>)))
-------- Misc. --------
Unit Group - Pick every unit in (Units owned by Player 12 (Brown)) and do (Unit - Set (Picked unit) acquisition range to 0.00)
to launch when the timer expired.
Any help please! thanks!!!
If you need another trigger posted, tell me