Hello,
I have declared the Unit variable in Trigger1
anyone knows what do I do to make it work? I am grateful in advance.
I have declared the Unit variable in Trigger1
-
Trigger1
-
Events
- Map initialization
- Conditions
-
Actions
- Unit - Create 1 Rifleman for Player 12 (brown) ....
- Set Unit_variable = (Last created unit)
- Trigger - Add to Trigger2 <gen> the event (Unit - A unit comes within 50.00 of Unit_variable)
-
Events
-
Trigger2
- Events
-
Conditions
- (Unit-type of (Triggering unit)) equals to Footman
-
Actions
- Unit - Kill (Triggering unit)
anyone knows what do I do to make it work? I am grateful in advance.