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
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, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadReferenced Images / Attachments
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.
Replies (0)
No replies yet.
Topic Summary
Loading summary...
