public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

[PRG VXA] How to add a switch to a script function?

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: [PRG VXA] How to add a switch to a script function?
  • Original author: Devildimos
  • Original date: July 9, 2020
  • Source thread: https://forums.rpgmakerweb.com/threads/prg-vxa-how-to-add-a-switch-to-a-script-function.123840/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support

Summary

Hello Everyone! I am a big failure when it come to scripts. I might be able to adjust a few lines here and there. But this seems to be too complex too me. :s I want to add a switch to the slip damage function to turn it true or false for the damage, regain, state counter to trigger. If the switch is false the state will remain there doing nothing but be paused until the switch is true.

Archived First Post

Hello Everyone!

I am a big failure when it come to scripts. I might be able to adjust a few lines here and there. But this seems to be too complex too me. :s

I want to add a switch to the slip damage function to turn it true or false for the damage, regain, state counter to trigger.
If the switch is false the state will remain there doing nothing but be paused until the switch is true.
I am using Falcao Pearl ABS Liquid V3 and Bug Fixes for Falcao's Pearl ABS Liquid v3 by Sixth. which overwrite that function. Instead it to function by steps taken it works by seconds.
In the image below is the "Bug Fixes for Falcao's Pearl ABS Liquid v3 by Sixth." starting at line 1225 with that function.
Protected download
I am trying to make a turn based system using a ABS and eventing. So I think adding a switch to that will be the best way to control when the state effect will trigger and the time of the state.

Thank you in advanced

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

Slip Damage.png
Slip Damage.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.

#rpg-maker-archive#rgss-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar