I have a hero that is losing certain behaviors if he dies and is revived. This hero has 5 "tech trees" to learn from, 4 of which will apply a behavior and 2 of which are newly created by me (as opposed to being created by the original dev a long time ago). If he learns either of the 2 old abilities, dies, and is then revived, he retains the stat changes from the behavior, but if he learns either of the 2 new abilities, the stats will not be retained upon revival (any abilities gained from these new techtrees ARE retained though).
i changed the learn abilities from behavior to effect instant. now the behaviors aren't lost upon death but the abilities are automatically learned when i have a point to put into it. ex. if i have 1 point, in 2 seconds he will auto learn one level of one of the skills.
I have a hero that is losing certain behaviors if he dies and is revived. This hero has 5 "tech trees" to learn from, 4 of which will apply a behavior and 2 of which are newly created by me (as opposed to being created by the original dev a long time ago). If he learns either of the 2 old abilities, dies, and is then revived, he retains the stat changes from the behavior, but if he learns either of the 2 new abilities, the stats will not be retained upon revival (any abilities gained from these new techtrees ARE retained though).
@Mallow25: Go
did you uncheck the flag on the behaviour to be destroy on death?
I am unable to find such a flag in the behavior properties
The behavior is modeled after another behavior that currently does work so their flags should be identical
@Mallow25: Go
Cbehaviour - infoflags - FlagEnabledWhileDead
found it, but it didn't change anything. the other behaviors that do work correctly are not flagged enabled while dead also.
the behavior type here is "Buff" with parent "Default Behavior (CBehaviorBuff)" if that changes anything
i may have fixed it by doing something that makes no sense...
ok, my problem has changed xD.
i changed the learn abilities from behavior to effect instant. now the behaviors aren't lost upon death but the abilities are automatically learned when i have a point to put into it. ex. if i have 1 point, in 2 seconds he will auto learn one level of one of the skills.
@Mallow25: Go
can you attach the map or is the risk of your ideas being stolen too high?