I am working on a AOS/DOTA similar map using the Konstrukt pack models, using the system that everyone is the same kind of unit, but killing an enemy unit makes him drop the weapon he is carrying, so it can be picked up.
the problem is i am trying to get the items to dissapear over time, so there aint 100's of miniguns lying all over the map, but im failing.
i have tried this kind of triggers whitout em working:
when a unit dies, a trigger creates an item at his position, and sets the item as variable dropeditem[dropitems] where dropeditem is a item array variable, and dropitems an integer. in the same trigger i do "set Dropitems = dropitems+1"
another trigger does like this:
every 1 seconds of time remove dropeditems1-5 and make dropeditems 6-10 dropeditems 1-5 instead.
aswell as sets dropitems to 5 again..
why doesnt this work?
i hope i have explained so u understands...
have left somethings outside that i dont thin matters.
please help!
the problem is i am trying to get the items to dissapear over time, so there aint 100's of miniguns lying all over the map, but im failing.
i have tried this kind of triggers whitout em working:
when a unit dies, a trigger creates an item at his position, and sets the item as variable dropeditem[dropitems] where dropeditem is a item array variable, and dropitems an integer. in the same trigger i do "set Dropitems = dropitems+1"
another trigger does like this:
every 1 seconds of time remove dropeditems1-5 and make dropeditems 6-10 dropeditems 1-5 instead.
aswell as sets dropitems to 5 again..
why doesnt this work?
i hope i have explained so u understands...
have left somethings outside that i dont thin matters.
please help!