With all my troubles, this is one of the things I really need an answer as well.
First off, I find it mysterious how the death and revive works.
Mainly this is my problem:
def revive @hp = 1 if @hp == 0 endOn this script block, I wanted to insert a check that if any of my actors has a note tag <neverdie> and that actor who has that note tag died, I want them to auto revive. Is this possible?
I just made a for loop to detect the notetag, but other than that, for the life of me I have no idea how to make this work.
Second question, is it also possible to determine the actor a state is being applied on? Say one of my actors was poisoned. Then I healed that actor. Is there a way to determine who that actor is so I can make an animation on that actor?
If so, how do I do it and the animation? Since the animation has a target and animation id... how can I address that target?
First off, I find it mysterious how the death and revive works.
Mainly this is my problem:
def revive @hp = 1 if @hp == 0 endOn this script block, I wanted to insert a check that if any of my actors has a note tag <neverdie> and that actor who has that note tag died, I want them to auto revive. Is this possible?
I just made a for loop to detect the notetag, but other than that, for the life of me I have no idea how to make this work.
Second question, is it also possible to determine the actor a state is being applied on? Say one of my actors was poisoned. Then I healed that actor. Is there a way to determine who that actor is so I can make an animation on that actor?
If so, how do I do it and the animation? Since the animation has a target and animation id... how can I address that target?