Help - Search - Members - Calendar
Full Version: Commun event with game variables?
RPG RPG Revolution Forums > Scripting > Script Development and Support
mikuri
Hello!
I have a problem here, I try to call a commun event related to a game variable. Like I want to call X commun event where X is a game variable.

I use:
$game_temp.common_event_id = X

And it works fine, but:
$game_temp.common_event_id = $game_variables[X]
Doesn't work.

(X being a number)

Can someone help me?
Thank you.
Jens of Zanicuud
QUOTE
And it works fine, but:
$game_temp.common_event_id = $game_variables[X]
Doesn't work.


Correct me if I'm not alright, ok?

You do exactly these things:
-set the $game_variables[X] value to common_event_id;
-set the call script as you stated before;
And nothing happens...

I've just tried this out, but it works perfectly...
No problems at all...
Are you sure the $game_variables[X] value to be > 0 or related to a existent common event?
I think this could be the one problem...

Jens
mikuri
Oh god... I don't know what happenned but my game variable was indeed missing, the condition to set it was off, I don't know why, since I know I made it... Oh well, it all works now!

Thank you very much smile.gif!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.