- Joined
- Apr 17, 2013
- Messages
- 381
any suggestion for my triggers?
any suggestions?
-
Trasfer Items
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Trasfer Items
-
Actions
- Set Trasport_Active = True
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Casting unit)) Equal to Flying Courier
-
Then - Actions
- Unit - Order (Casting unit) to Move To (Position of (Random unit from (Units owned by (Owner of (Casting unit)) matching (((Matching unit) is A Hero) Equal to True))))
- Wait until ((Number of units in (Units within 100.00 of (Position of (Casting unit)) matching (((Matching unit) is A Hero) Equal to True))) Equal to 1), checking every 1.00 seconds
-
Unit Group - Pick every unit in (Units within 100.00 of (Position of (Casting unit)) matching ((((Matching unit) is A Hero) Equal to True) and ((Owner of (Casting unit)) Equal to (Owner of (Matching unit))))) and do (Actions)
-
Loop - Actions
- Hero - Give (Item carried by (Casting unit) in slot 1) to (Picked unit)
- Hero - Give (Item carried by (Casting unit) in slot 2) to (Picked unit)
- Hero - Give (Item carried by (Casting unit) in slot 3) to (Picked unit)
- Hero - Give (Item carried by (Casting unit) in slot 4) to (Picked unit)
- Hero - Give (Item carried by (Casting unit) in slot 5) to (Picked unit)
- Hero - Give (Item carried by (Casting unit) in slot 6) to (Picked unit)
- Set Trasport_Active = False
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) is A Hero) Equal to True
-
Then - Actions
-
Item - Pick every item in (Region centered at (Position of (Random unit from (Units owned by (Owner of (Casting unit)) matching (((Matching unit) is A Hero) Equal to True)))) with size (300.00, 300.00)) and do (Actions)
-
Loop - Actions
- Hero - Create (Item-type of (Picked item)) and give it to (Casting unit)
- Item - Remove (Picked item)
-
Loop - Actions
- Unit - Order (Casting unit) to Move To ((Owner of (Casting unit)) start location)
-
Item - Pick every item in (Region centered at (Position of (Random unit from (Units owned by (Owner of (Casting unit)) matching (((Matching unit) is A Hero) Equal to True)))) with size (300.00, 300.00)) and do (Actions)
- Else - Actions
-
If - Conditions
-
Loop - Actions
- Else - Actions
-
If - Conditions
-
Events
-
Transport run
- Events
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Casting unit)) Equal to Flying Courier
-
Then - Actions
- Unit - Order (Casting unit) to Move To (Position of (Random unit from (Units owned by (Owner of (Casting unit)) matching (((Matching unit) is A Hero) Equal to True))))
- Wait until ((Number of units in (Units within 100.00 of (Position of (Casting unit)) matching (((Matching unit) is A Hero) Equal to True))) Equal to 1), checking every 1.00 seconds
-
Unit Group - Pick every unit in (Units within 100.00 of (Position of (Casting unit)) matching ((((Matching unit) is A Hero) Equal to True) and ((Owner of (Casting unit)) Equal to (Owner of (Matching unit))))) and do (Actions)
-
Loop - Actions
- Hero - Give (Item carried by (Casting unit) in slot 1) to (Picked unit)
- Hero - Give (Item carried by (Casting unit) in slot 2) to (Picked unit)
- Hero - Give (Item carried by (Casting unit) in slot 3) to (Picked unit)
- Hero - Give (Item carried by (Casting unit) in slot 4) to (Picked unit)
- Hero - Give (Item carried by (Casting unit) in slot 5) to (Picked unit)
- Hero - Give (Item carried by (Casting unit) in slot 6) to (Picked unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) is A Hero) Equal to True
-
Then - Actions
-
Item - Pick every item in (Region centered at (Position of (Random unit from (Units owned by (Owner of (Casting unit)) matching (((Matching unit) is A Hero) Equal to True)))) with size (300.00, 300.00)) and do (Actions)
-
Loop - Actions
- Hero - Create (Item-type of (Picked item)) and give it to (Casting unit)
- Item - Remove (Picked item)
-
Loop - Actions
- Unit - Order (Casting unit) to Move To ((Owner of (Casting unit)) start location)
-
Item - Pick every item in (Region centered at (Position of (Random unit from (Units owned by (Owner of (Casting unit)) matching (((Matching unit) is A Hero) Equal to True)))) with size (300.00, 300.00)) and do (Actions)
- Else - Actions
-
If - Conditions
-
Loop - Actions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Burst
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Burst
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Trasport_Active Equal to True
-
Then - Actions
- Trigger - Run Trasport run <gen> (ignoring conditions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Return Home
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Return Home
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Casting unit)) Equal to Flying Courier
-
Then - Actions
- Unit - Order (Casting unit) to Move To ((Owner of (Casting unit)) start location)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
any suggestions?