Storing MapID $gameVaribles

Faytless

recently unemployed Kung Fu Master
Veteran
Joined
Jan 27, 2013
Messages
244
Reaction score
164
First Language
English
Primarily Uses
N/A
Trying to store mapID into a variable,  I remember it used to be a direct call in the older version -- unless I'm blind -- i can't figure out how. 

I'm using a script  call

$gameVariables.setVariable(5, $mapId)   <--      This is incorrect. 

$gameVariables.setVariable(6, $gamePlayer.x)

$gameVariables.setVariable(7, $gamePlayer.y)

Any ideas?

I already know that doesn't work lol.  Anyone know the correct syntax?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
why not use control variable for this?

control variable : game data : other : Map ID

control variable : game data : Character : Player : Map X (or Y)
 

Faytless

recently unemployed Kung Fu Master
Veteran
Joined
Jan 27, 2013
Messages
244
Reaction score
164
First Language
English
Primarily Uses
N/A
Erg, I knew there was a simple way to do this

Thanks for both of your answers.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,975
Members
137,563
Latest member
cexojow
Top