[Solved] Galv Move Route Extras not working when self-switching other events

EternalShadow

Veteran
Veteran
Joined
Sep 16, 2012
Messages
5,781
Reaction score
1,041
First Language
English
Primarily Uses
http://galvs-scripts.com/galvs-move-route-extras/



Line 1411:

#-------------------------------------------------------------------------- # * Script #-------------------------------------------------------------------------- def command_355 script = @list[@index].parameters[0] + "\n" while next_event_code == 655 @index += 1 script += @list[@index].parameters[0] + "\n" end eval(script) <--------- this one endendEvent I am doing switching on: (I tried it with different event IDs as well)

(Page 2 is same thing in reverse)

It crashes after pressing/activating this event.


Any questions? Anything I need to look into?
 
Last edited by a moderator:

EatYourBeetS

The Abysswalker
Veteran
Joined
Feb 23, 2015
Messages
96
Reaction score
30
First Language
Italian
Primarily Uses
It's because you are not using it in a move route, either put it in a move route or use this script call 

Code:
$game_self_switches[[map, event, 'self_switch']] = value
 

EternalShadow

Veteran
Veteran
Joined
Sep 16, 2012
Messages
5,781
Reaction score
1,041
First Language
English
Primarily Uses
I truly am ill enough not to be able to work that one out myself, thank you Q_Q
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Why are you doing a script call to change a self switch, followed by an event command to change the self switch? Only one of those would be needed.
 

EternalShadow

Veteran
Veteran
Joined
Sep 16, 2012
Messages
5,781
Reaction score
1,041
First Language
English
Primarily Uses
Why are you doing a script call to change a self switch, followed by an event command to change the self switch? Only one of those would be needed.
Because I was ill and tired. The script call was meant to change a different event's self-switch, but the other one changes the event itself.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,864
Messages
1,017,056
Members
137,573
Latest member
nikisknight
Top