Ok so not sure where to put this, but this is whats going on. I have a hero revive system in place in triggers *ill write later* it revives the unit like it should tho some times it makes a double of that unit? Could it have something to do with the Valerian behaviors I am using on the unit? Any idea's on how to stop this?
*revive trigger*
Event
-unit attacked
Local var
-actor=no actor
-dieing hero= trigging unit
Conditions
-and
-conditions
-owner of dieing hero= player
-unit type of trigging unit is hero= true
-triggering unit has Valerian02a- Incapacitated= true
Actions
-move unit instantly to respawn
-create death model
-send actor msg animplay death
-send actor msg destroy to last created actor
-var set actor lasted created actor by message
-wait 20 sec
-send actor msg destroy
-pan cam to hero
(it does all of this tho some times it spawn a unit at spawn and where it dies, resulting in 2 hero's)
Is it an actual duplicate unit? Or a duplicate actor for the same unit? That trigger does not create any units at all so if a duplicate unit is created then it would be due to data.
in game i start it with 2 hero's of same type by end of it i have like 6 of them running around...so I have no idea whats going on I know that trigger doesn't create a unit...and the actor I make is spirit death so its not even close to the hero....again why I am so confused by this one.
I think that may have did it I wont know for sure until I do another public test. I think it was the timer in the Val stand up in the data editor wasn't matching my trigger timers so was saving and respawning that actor, then the stand up was reviving the killed unit in the same spot it died. Going to make that timer longer in the public test find out how it goes.
Ok so not sure where to put this, but this is whats going on. I have a hero revive system in place in triggers *ill write later* it revives the unit like it should tho some times it makes a double of that unit? Could it have something to do with the Valerian behaviors I am using on the unit? Any idea's on how to stop this?
*revive trigger*
Event
-unit attacked
Local var
-actor=no actor
-dieing hero= trigging unit
Conditions
-and
-conditions
-owner of dieing hero= player
-unit type of trigging unit is hero= true
-triggering unit has Valerian02a- Incapacitated= true
Actions
-move unit instantly to respawn
-create death model
-send actor msg animplay death
-send actor msg destroy to last created actor
-var set actor lasted created actor by message
-wait 20 sec
-send actor msg destroy
-pan cam to hero
(it does all of this tho some times it spawn a unit at spawn and where it dies, resulting in 2 hero's)
Is it an actual duplicate unit? Or a duplicate actor for the same unit? That trigger does not create any units at all so if a duplicate unit is created then it would be due to data.
in game i start it with 2 hero's of same type by end of it i have like 6 of them running around...so I have no idea whats going on I know that trigger doesn't create a unit...and the actor I make is spirit death so its not even close to the hero....again why I am so confused by this one.
Maybe another trigger is the cause? Or perhaps a create unit effect in data?
I think that may have did it I wont know for sure until I do another public test. I think it was the timer in the Val stand up in the data editor wasn't matching my trigger timers so was saving and respawning that actor, then the stand up was reviving the killed unit in the same spot it died. Going to make that timer longer in the public test find out how it goes.