- Joined
- Jul 25, 2013
- Messages
- 124
- Reaction score
- 18
- First Language
- English
- Primarily Uses
I am attempting to create an effect similar to the auto-life feature of games like Final Fantasy, without using scriptin, wherein when a particular character with that effect on them dies, it revives them and removes that state. The way I currently have it set up, Auto-Life is a State that is placed on a target via an item or spell(skill). I think I need to set up a common event (so that I can just call the common event for each battle event once per turn on don't run) where it checks that State of each party member for Death (state id 1) and if they are dead (conditional branch) I check to see if they have the auto-life state (id 30 for my database; another conditional branch), and if they are it removes death and gives them 50% of their max hp. I know that you can check their current hp (as a variable) because the death state reduces it to 0 (if I remember correctly), but I am having a hard time linking the check to each party member, and checking each of their states. There has got to be a more elegant way than trying to hamfisted jam it through a bajillion conditional branches (especially if you switch battle party members out).
Can someone please show me an elegant way to set up an effect that revives a character when they die (and obviously does a remove_state so it won't continuously prevent death) and restores 50% of their Max Hp? If possible, give both the abstract eventing or whatnot concepts so that they can be applied to other situations, but also the specific example and process for the "auto-life" skill. (I apologize, but everytime I approach this issue and I think I'm going somewhere, my brain locks up when I hit a roadblock; I've tried adding a state, and attempting a conditional branch common event that I call in the battle events, but I can't seem to link it to check for each party member.... i do try to use variables and switches to check as well). Any help would be much appreciated, I can't seem to find something in the forum that is sufficient, and the one other person I saw asking for something similar did not get an answer during the topic (I think it was within the custom formulae topic).
Can someone please show me an elegant way to set up an effect that revives a character when they die (and obviously does a remove_state so it won't continuously prevent death) and restores 50% of their Max Hp? If possible, give both the abstract eventing or whatnot concepts so that they can be applied to other situations, but also the specific example and process for the "auto-life" skill. (I apologize, but everytime I approach this issue and I think I'm going somewhere, my brain locks up when I hit a roadblock; I've tried adding a state, and attempting a conditional branch common event that I call in the battle events, but I can't seem to link it to check for each party member.... i do try to use variables and switches to check as well). Any help would be much appreciated, I can't seem to find something in the forum that is sufficient, and the one other person I saw asking for something similar did not get an answer during the topic (I think it was within the custom formulae topic).
