- Joined
- Jan 18, 2007
- Messages
- 331
Hi folks, well iv started on an old project and iv finished it up a bit, now to the problem. You see, wen i type a message containing -lets go (thats the start trigger that starts the game) and then wc3 just shuts down... hmmm, well here is the triggers
-
start
-

Events
-


Player - Player 1 (Red) types a chat message containing -lets go as A substring
-
-

Conditions
-

Actions
-


Trigger - Run lvl1 <gen> (checking conditions)
-


Trigger - Turn off (This trigger)
-
-
-
lvl1
-

Events
-

Conditions
-

Actions
-


Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of Region 000 <gen>) facing Default building facing degrees
-


Set Attacking_forces[1] = (Last created unit)
-


Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of Region 003 <gen>) facing Default building facing degrees
-


Set Attacking_forces[2] = (Last created unit)
-


Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of Region 002 <gen>) facing Default building facing degrees
-


Set Attacking_forces[3] = (Last created unit)
-


Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of Region 001 <gen>) facing Default building facing degrees
-


Set Attacking_forces[4] = (Last created unit)
-


Unit Group - Add all units of (Units owned by Player 12 (Brown) of type Ghoul) to attacking_forces_unit_group[1]
-


Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Unit - Order (Picked unit) to Attack Hero)
-


Trigger - Run lvl 1 to 6 timer <gen> (checking conditions)
-
-
-
lvl 1 to 6 timer
-

Events
-


Time - Every 2.00 seconds of game time
-
-

Conditions
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(attacking_forces_unit_group[1] is empty) Equal to True
-
-



Then - Actions
-




Player - Add 1 to Player 1 (Red) Current lumber
-




Countdown Timer - Start Next_Level as a One-shot timer that will expire in 30.00 seconds
-




Set Next_Level = (Last started timer)
-




Countdown Timer - Create a timer window for Next_Level with title Next lvl in...
-




Set timer[1] = (Last created timer window)
-




Countdown Timer - Show timer[1]
-




Trigger - Turn off (This trigger)
-




Trigger - Run lumber <gen> (checking conditions)
-
-



Else - Actions
-




Trigger - Run (This trigger) (checking conditions)
-
-
-
-





