Another issue (X coordinate not working)

Eilwyn

Veteran
Veteran
Joined
Mar 13, 2012
Messages
182
Reaction score
35
First Language
English
Primarily Uses
RMMV
Hi All,

Any reason why in the following code:
Code:
Window_Selectable.prototype.initialize.call(this, 299, 546, 919, 144);
With the above code, my understanding is the numbers in order go:

X coordinate you want the window to show at
Y coordinate you want the window to show at
Width you want the window to be
Height you want the window to be?

So, I was wondering if someone could tell me why everything there does what I want according to the values I've enter EXCEPT for the X coordinate value. The Window for some reason refuses to change it's X coordinate no matter what value I enter, but successfully abided by all the others.

Thanks!
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
1,483
Reaction score
987
First Language
English
Primarily Uses
What window are you using this in?
 

Eilwyn

Veteran
Veteran
Joined
Mar 13, 2012
Messages
182
Reaction score
35
First Language
English
Primarily Uses
RMMV
Battle_ActorStatus
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,789
Reaction score
12,219
First Language
English
Primarily Uses
RMMV
Does the Scene that calls it modify the x value after creating the window?
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
1,483
Reaction score
987
First Language
English
Primarily Uses
Is that a custom window? It's not one of the defaults. If it inherits from a default window, make sure that window doesn't have an updatePlacement function that sets x.
 

Eilwyn

Veteran
Veteran
Joined
Mar 13, 2012
Messages
182
Reaction score
35
First Language
English
Primarily Uses
RMMV
There doesn't seem to be any functions that update X afterward. At least in the Battle_ActorStatus area.
If there is a function elsewhere that changes this, I'm not sure where to look for it.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Well, looks like I need to build myself a quest system. Or really just a system for "Helpful voices" to talk to the player. I'm sure nothing will go wrong listening to them.... They're "helpful". :LZSwink:

Should be pretty easy with PIXI just letting me write all over the screen. :LZSexcite:
I'm starting to think I just dont like anime since the last one I enjoyed was none of them.
Hi guys, Im new here. Im using RPGMMV. In this community i would like to learn more and become better rpg developer.
The main character for the first game was originally going to become a member of the party in the third game but I'm probably changing him to an important NPC instead. That brings the third game's total ensemble roster down to nine with one optional secret character.

Forum statistics

Threads
95,591
Messages
930,303
Members
125,896
Latest member
Yilou
Top