- Joined
- Mar 5, 2008
- Messages
- 3,887
Hi, i'm working on a system... and i use unit in code, so if there is a way to set this unit in variable or something(that there would be no need to select a unit for trigger) Now i have a unit hidden somewhere on the map(backpack unit)
The trigger is ok, the only problem is that there must be that two specific units. (sry but i dunno how to explain other way...) so if i want to make it for more players i'm in deep sh*t. and one more thing all triggers depends on other triggers...
HF -BR-
The trigger is ok, the only problem is that there must be that two specific units. (sry but i dunno how to explain other way...) so if i want to make it for more players i'm in deep sh*t. and one more thing all triggers depends on other triggers...
-
Bag Pick
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to BackPack
-
Actions
- Unit - Add Open Backpack to (Triggering unit)
-
Events
-
Bag
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Open Backpack
-
Actions
- Set Point = (Position of (Triggering unit))
- Unit - Move Backpack 0014 <gen> instantly to Point
- Unit - Unhide Backpack 0014 <gen>
- Selection - Select Backpack 0014 <gen> for (Triggering player)
-
Events
-
Bag Close
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Close Backpack
-
Actions
- Unit - Hide (Triggering unit)
- Selection - Select Blood Mage 0001 <gen> for (Triggering player)
-
Events
HF -BR-