how to detect if follower is dead - falcao pearl ABS

Im trying to trigger an event to detect if my follower has died. im using falcao pearl ABS

i tried to do this $game_actors[020].hp = 0 as a script call commen event. but its not working


how I want the event to work is. if your follower dies I want a instant message to pop up saying. I need to revive him before I move on.

and I can't figure out if ace gives an option to detect teammate death

please help ty
how do you stop a player from completing a quest if your follower is dead.

to completely the quest you must revive your follower. then hand in the quest.
I can't download the Falco Pearl, Mediafire is giving me an invalid URL... ( http://puu.sh/7raaF.png )
Do you have the main script or something like that ? (I can't help without, I never touch this script...)
I could be wrong, but I think it needs to be $game_party.actors[x].
thanks for the help but your suggestion crashes my game. anyone else that uses falcao pearl knows how to detect followers death?
im still having issues on how to detect followers death.. I have a quest where you need to find a girls dog

when you find the dog he joins your party. but if he dies and you try to hand in the quest it will crash because the dog is
dead..

how do I detect followers death. so the player has to go back and revive the dog. to complete the quest.

please help this sucks been stuck on this for weeks
hey peeps this is an update to this issue I finally managed to figure out with the help from online resources and help from HBgames.org

here's how I solved this..

Quest : girl lost her dog - return her missing dog.

known issue : if dog is dead while trying to bring the dog back to the girl.. the game will crash when you try to complete the quest (because dog is dead)

how to fix:
make an event where you and your new pet dog will fight.. in the event create this conditional branch

@>conditional branch: [cujo] is [Death] inflicted
@> Control switches : [001: cujo_dead_need_revive.] = on
@>
else
@> conditional branch: script: script $game_actors[02].hp >= 1
@> control switches: [001: cujo_dead_need_revive.] = off

this above event will check if the dog is dead or alive..

remember im using falcao pearl ABS style fighting (zelda link to the past style gameplay)

hope this helped as it took me to long to figure out.
Just for the record, to assign a game actor's health, you use:
$game_actors[id].hp = value

This would affect the internal character template.

To check the current health of a party member, use:
$game_party.actors[id].hp == value

From my understanding, the health of the database character templates do not change; the character instance's health does.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=78121