public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

[RMVXAce] an event affected by a script isn't triggering properly

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: [RMVXAce] an event affected by a script isn't triggering properly
  • Original author: Jericoshost
  • Original date: February 8, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/rmvxace-an-event-affected-by-a-script-isnt-triggering-properly.56489/
  • Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker VXAce Support

Summary

Ok so what I've done is I made a script which resets events by turning off their self-switches. The script works perfectly so far, but now I am having an issue with a door I made. The way the doors I made work is: Door 'A' initially rolls a variable. Then uses a conditional branch (A set of three to be exact) to choose a self switch based on this variable. The self-switches each have a tab which has it's own transfer player event. and this leads to the door...

Archived First Post

Ok so what I've done is I made a script which resets events by turning off their self-switches.


The script works perfectly so far, but now I am having an issue with a door I made.


The way the doors I made work is: Door 'A' initially rolls a variable. Then uses a conditional branch (A set of three to be exact) to choose a self switch based on this variable. The self-switches each have a tab which has it's own transfer player event. and this leads to the door being randomized.


And because it is a tab on it's own, it stays the selection until reset through a script.


Then an event with a script inside resets the event. So far it's working perfectly (The script and Door 'A' anyways), however the problem starts with door 'B'


Door 'B' is set to Auto-Run, and has a set of conditional branches (Which is decided by the previous variable) which each activates a self switch. The self-switch activates a tab which allows the player to return to the previous room (Which was randomly selected).


So what I do is go through door A, then door B and back out Door A. I run the script and Door A resets perfectly.


However upon trying to return through door B, it hasn't reset and returns to the room chosen the first time.


It isn't re-reading the variable for some reason? It is  resetting when I turn off Auto-run, but it still re-reads the old variable...


I would like to try and have all the doors in the game be randomized by the same variable to reduce load on the system and make things easier to keep track of. So I am trying to avoid having to write out a brand new variable for each set of random doors if possible.


Any help would be appreciated.


And note: As far as I can tell the script is not the problem, so I didn't post it under scripts.

Protected download

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

Errorstuff.png
Errorstuff.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