All of a sudden the Larva hero in my map stopped gaining experience. I put in some text message trigger code to test it. The trigger added the exp, but the behavior is not taking it. I tried enabling experience directly on the behavior and it won't take exp. I tried copying the behavior and using it on the larva and still no luck. I tried duplicating the larva and no dice. I tried giving the larva a different level behavior that works on other heroes and no dice. ALL the other 16 heroes in the map work fine.... I have literally no idea wtf is causing this?
I cannot even give him a level threw triggers.
Unit - Set (Picked unit) Level to (((Picked unit) Level (Current)) + 4.0)
Doesn't work on him. I also tried removed all levels from the behavior and re-adding in just 1. Still no dice. WTF!
I made zero changes to the larva. Didn't touch him.
Something similar happened where all of my pre-set heroes/units on the map weren't being able to have their levels set the same kinda way. I had to remove the behavior from them, at map start, then RE-ADD it and set the level and it works. No idea why that broke. I tried this method when the hero is loaded from the bank, remove and apply a new one. Same problem.
UPDATE:
So I tried taking a brand new unit that has never been modified and added the behavior. No exp. So I decided to try to add the unit threw triggers. I waited 60 seconds game time, spawned the unit, and now it works............................ WTF. AT LEAST I HAVE A PLACE TO START NOW JESUS. Stupid
It was a rogue trigger that picked all units and disabled exp....
All of a sudden the Larva hero in my map stopped gaining experience. I put in some text message trigger code to test it. The trigger added the exp, but the behavior is not taking it. I tried enabling experience directly on the behavior and it won't take exp. I tried copying the behavior and using it on the larva and still no luck. I tried duplicating the larva and no dice. I tried giving the larva a different level behavior that works on other heroes and no dice. ALL the other 16 heroes in the map work fine.... I have literally no idea wtf is causing this?
I cannot even give him a level threw triggers.
Doesn't work on him. I also tried removed all levels from the behavior and re-adding in just 1. Still no dice. WTF!
@Zero0018: Go
did you change any unit flags? passive? heroic?
anyway, change the larva back step by step to equal the other working unit
@FunkyUserName: Go
I made zero changes to the larva. Didn't touch him.
Something similar happened where all of my pre-set heroes/units on the map weren't being able to have their levels set the same kinda way. I had to remove the behavior from them, at map start, then RE-ADD it and set the level and it works. No idea why that broke. I tried this method when the hero is loaded from the bank, remove and apply a new one. Same problem.
UPDATE:
So I tried taking a brand new unit that has never been modified and added the behavior. No exp. So I decided to try to add the unit threw triggers. I waited 60 seconds game time, spawned the unit, and now it works............................ WTF. AT LEAST I HAVE A PLACE TO START NOW JESUS. Stupid
It was a rogue trigger that picked all units and disabled exp....