public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Applying Character State on Death

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Applying Character State on Death
  • Original author: Kloqdq
  • Original date: July 1, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/applying-character-state-on-death.64572/
  • Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker VXAce Support

Summary

Hello everyone! Today I was working on my project and I came up with an idea for a character. Basically, when the character is killed in battle, I want to have them instead of dying, entering a state that keeps them alive but just weaken. I have the state but I'm not sure how to apply it to the 2 characters that have this special state. I figure it can be entered into the system via scripting but I'm not sure how the live of script should look. { "lightbox_close":...

Archived First Post

Hello everyone!


Today I was working on my project and I came up with an idea for a character. Basically, when the character is killed in battle, I want to have them instead of dying, entering a state that keeps them alive but just weaken. I have the state but I'm not sure how to apply it to the 2 characters that have this special state. I figure it can be entered into the system via scripting but I'm not sure how the live of script should look.


Protected download


I think I add the state in this line here. 


Would my line look like;


(@hp == 0) ? add_state(death_state_id) || add_state(avoid-death_state_id[1].include?(@actor_id))) : remove_state(death_state_id)


I'm not really sure so any help would be greatly appreciated. Thank you!

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

Scripting help.png
Scripting help.png
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#vxace-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar