The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: Noblesseoblique on August 20, 2011, 03:52:01 PM

Title: (RMVX) delayed revival script.
Post by: Noblesseoblique on August 20, 2011, 03:52:01 PM
Im hoping someone can help me out here. Id like to make a game in which rather than a character dieing in battle they become knocked out for say 3 or 4 turns and will get back up automatically with say half health. A good way to describe this is its similar to how the immortals were in lost odyssey. I can get the KO status to wear off after a set number of turns but it always revives back to 1 hp. hopefully someone can help with a script to change this or tell me where to change it and how. I not too well aquainted with rpg maker so this may be simple and im just missing it.
Title: Re: (RMVX) delayed revival script.
Post by: Mushu on August 20, 2011, 03:56:30 PM
There's a petrify script they've made so maybe you could use that and rename all the words to 'ko' then maybe add an event that changes hp after it wears off.
Title: Re: (RMVX) delayed revival script.
Post by: Noblesseoblique on August 20, 2011, 04:00:18 PM
well what im trying to do with it is when a character would be incapacitated it would happen as normal but after a few turns they revive on their own with half health. i dont think the petrify script would work or if it would how to implement it to take effect when hp hits 0. ill check it out and see what i can do. thanks for the idea.
Title: Re: (RMVX) delayed revival script.
Post by: Mushu on August 20, 2011, 04:06:27 PM
I found the petrify script a while ago but I can't find it again, xD wish I could post it
In vague terms in script &/or events itd probably be something like..
If  Revive used
    If (party members incapacitated)<(max party members)
        If  x turns have passed
            revive character
or something along those lines so maybe petrify wouldnt be necessary
Title: Re: (RMVX) delayed revival script.
Post by: Noblesseoblique on September 14, 2011, 02:02:53 PM
I hate to admit it, but im still having issues finding a way to do what im trying to. Im not very good at writing scripts or events, im still new to rpg maker vx. If anyone has played lost odyssey then they know what im trying to do. When a character dies they basically become incapacitated for a few turns then revive with half health. its similar to how the immortals in lost odyssey were. Scalinger2 your idea may work, but i have no idea how to utilize it.... sorry for being so nooby...
Title: Re: (RMVX) delayed revival script.
Post by: Mushu on September 16, 2011, 10:45:59 PM
Database>States>Release Conditions (Incapacitated)
                            After X turns
This revives them after a couple of turns, however, I don't know how to set to half hp after they are revived.
I assume you would have to use a switch, a conditional branch or another state that adds hp after 'Incapacitated' is cured after x turns using a common event set to a parallel trigger.

Edit: I forgot you already knew how to revive after a couple turns xD
Title: Re: (RMVX) delayed revival script.
Post by: pacdiggity on September 17, 2011, 11:35:51 AM
Do the actors only have one revival per battle or is it infinite? Must this also apply to enemies?
Title: Re: (RMVX) delayed revival script.
Post by: Noblesseoblique on October 04, 2011, 03:21:40 PM
I'm thinking of trying something else, as this is beginning to become too complex for me. being new to something like this sucks. but thanks for everyone's help. oh and Pacman in case u have an idea, id like it to be infinite for your team but not for enemies. I'm making a martial arts style game so your team only gets knocked out and wake up a while later in the battle.