- Joined
- Mar 25, 2011
- Messages
- 50
Hello,
Due to my lack of trigger expertise, I've come up with a few problems. If anyone can help guide me in the right direction, it would be appreciated
If you know a way to make it more universal so that it works for all players, and triggers upon death of a building. Keep the conditions.
Im sorry to appear needy, and I know this is a lot of stuff lol. However, I feel that it's better to do a bulk rather than a small bit by bit. IF you can help me with any of these triggers I'd greatly appreciate it. Thanks!
Due to my lack of trigger expertise, I've come up with a few problems. If anyone can help guide me in the right direction, it would be appreciated
-
Dialog
-
Events
-
Player - Player 1 (Red) Selects a unit
-
-
Conditions
-
((Attacked unit) is A town-hall-type unit) Equal to True
-
-
Actions
-
Dialog - Change the title of Dialog_Window to Choose your Action
-
Dialog - Show Dialog_Window for Player 1 (Red)
-
-
If you know a way to make it more universal so that it works for all players, and triggers upon death of a building. Keep the conditions.
-
Function
-
Events
-
Dialog - A dialog button is clicked for Dialog_Window
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Clicked dialog button) Equal to Dialbuttone
-
-
Then - Actions
-
Unit - Change ownership of TOWNHALL to (Owner of (Triggering unit)) and Change color
-
-
Else - Actions
-
Unit - Kill TOWNHALL
-
Player - Add (Random integer number between 275 and 425) to (Triggering player) Current gold
-
-
-
-
-
Melee Initialization
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
Trigger - Add to camera distance <gen> the event (Player - (Player((Integer A))) types a chat message containing -view as A substring)
-
-
-
-
-
camera distance
-
Events
-
Map initialization
-
-
Conditions
-
(Substring((Entered chat string), 1, 6)) Equal to -view 3000
-
-
Actions
-
Set Distance = (Real((Substring((Entered chat string), 7, (Length of (Entered chat string))))))
-
Camera - Set (Triggering player)'s camera Distance to target to Distance over 0.00 seconds
-
-
-
Spawn Inititation
-
Events
-
Unit - A unit Finishes training a unit
-
-
Conditions
-
((Triggering unit) is A ground unit) Equal to True
-
-
Actions
-
Unit Group - Add (Trained unit) to SpawnGroup
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Then - Actions
-
Else - Actions
-
-
-
Im sorry to appear needy, and I know this is a lot of stuff lol. However, I feel that it's better to do a bulk rather than a small bit by bit. IF you can help me with any of these triggers I'd greatly appreciate it. Thanks!