public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

XS - Interacting (change interact time via variable)

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: XS - Interacting (change interact time via variable)
  • Original author: Necrofenser
  • Original date: August 17, 2015
  • Source thread: https://forums.rpgmakerweb.com/threads/xs-interacting-change-interact-time-via-variable.43739/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support

Summary

I want to set value of game variable before even clicking on "New Game" button. Here's a catch. I am using XS - Interacting script and i want to change value of initial timer from this script by using "Control Variables" event command. Problem is that script is crashing if value is zero, so in order to work I need to set game variable to some value, even before starting a game (i can't use Control Variable event command, because script is preventing game to start). In script i set...

Archived First Post

I want to set value of game variable before even clicking on "New Game" button.

Here's a catch. I am using XS - Interacting script and i want to change value of initial timer from this script by using "Control Variables" event command. Problem is that script is crashing if value is zero, so in order to work I need to set game variable to some value, even before starting a game (i can't use Control Variable event command, because script is preventing game to start).

In script i set initial timer to game variable number two.

INITIAL_TIMER = $game_variables[2]

I tried setting game variable directly in script, but i get error (see attached picture).

I attached modified script, so you can see what i have done. Can someone please tell me how to fix this?

EDIT: I used "Default Variables by futrchamp" script in order to set value of game variable 2 before even starting a game, but i get same error

Protected download

script.txt

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

scripterror.jpg
scripterror.jpg
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#rgss-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar