• 0

    posted a message on Behavior check upon unit death

    I am very sorry to resurrect this thread but I have an important piece of information related to this topic. After the recent updates, you can actually do just that: A trigger with the event that any unit dies. Then when you try to access the behavior (or in my case the stacks of a certain behavior) on that particular unit, it always returns 0 or false. The key is, you need to set the flags "permanent" and "enabled while dead" in the data tab of your behavior. For me, this worked.

    I am posting on this quite aged thread because I was struggling with this problem for a good week and pretty much only stumbled upon this thread. I thought I could help out others with similar problems.

    Have a nice day.

    Posted in: Triggers
  • To post a comment, please or register a new account.