Husky
Local Lurker
- Reaction score
- 116
Hi,
Problem 1 (VERY MAJOR BUG):
Okay i've found a problem on my map. What happens is that a unit is holding an item and if the unit dies, the item spawns back at where he stole it from.
So this is what I got:
I've got no idea whats wrong. It looks perfectly fine to me...
Problem 2:
When my unit dies he gets spawned again like 20 seconds later. It works fine although when he comes back to life he has 0 mana and you have to wait for it to regenerate.
Thanks for your help,
-Husky
Problem 1 (VERY MAJOR BUG):
Okay i've found a problem on my map. What happens is that a unit is holding an item and if the unit dies, the item spawns back at where he stole it from.
So this is what I got:
Code:
Unit Dies
Events
Unit - A unit Dies
Conditions
(((Triggering unit) has an item of type Dark Green Flag) Equal to True) or (((Triggering unit) has an item of type Green Flag) Equal to True)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) has an item of type Green Flag) Equal to True
((Triggering unit) has an item of type Dark Green Flag) Equal to True
Then - Actions
Item - Remove (Item carried by (Triggering unit) of type Green Flag)
Item - Create Green Flag at (Center of Green Teams Flag <gen>)
Else - Actions
Item - Remove (Item carried by (Triggering unit) of type Dark Green Flag)
Item - Create Dark Green Flag at (Center of Dark Green Teams Flag <gen>)
I've got no idea whats wrong. It looks perfectly fine to me...
Problem 2:
When my unit dies he gets spawned again like 20 seconds later. It works fine although when he comes back to life he has 0 mana and you have to wait for it to regenerate.
Thanks for your help,
-Husky


