- Joined
- Dec 29, 2009
- Messages
- 931
Okie so I have this trigger and it does this thing...
Lol, it moves the backpack to the player's hero every 0.03 seconds so it appears as if the hero is carrying the backpack.
You've all seen this before.
But it feels to simple.. I have to be missing something, and I can't think straight right now.
It will be a number between 1 and 8, for each trigger respectively, representing the player number.
Lol, it moves the backpack to the player's hero every 0.03 seconds so it appears as if the hero is carrying the backpack.
You've all seen this before.
But it feels to simple.. I have to be missing something, and I can't think straight right now.
-
Backpack 01
-
Events
- Time - Every 0.03 seconds of game time
- Conditions
-
Actions
- Set BackPack_TempInt = 1
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (gen_PlayerHero[BackPack_TempInt] is alive) Equal to True
-
Then - Actions
- Set BackPack_TempLoc = (Position of gen_PlayerHero[BackPack_TempInt])
- Unit - Move (Triggering unit) instantly to BackPack_TempLoc
- Custom script: call RemoveLocation(udg_BackPack_TempLoc)
-
Else - Actions
- Trigger - Turn off (This trigger)
-
If - Conditions
-
Events
It will be a number between 1 and 8, for each trigger respectively, representing the player number.