Event coordinates withour using variables

LynX

Veteran
Veteran
Joined
Jan 6, 2014
Messages
81
Reaction score
8
First Language
Polish
Primarily Uses
Is possible to get event coordinates without using variables? and put it in conditional branch?

I mean something like that:

event.id[1].py <= 5
 
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
I use these identifiers when I'm looking to see if the event's x, y equals the player's x, y

$game_map.events[id].x

[SIZE=13.3333px]and[/SIZE]

$game_map.events[id].y
 

LynX

Veteran
Veteran
Joined
Jan 6, 2014
Messages
81
Reaction score
8
First Language
Polish
Primarily Uses
I use these identifiers when I'm looking to see if the event's x, y equals the player's x, y

$game_map.events[id].x

[SIZE=13.3333px]and[/SIZE]

$game_map.events[id].y
Thank You it works like charm ;) !
 

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,868
Messages
1,017,066
Members
137,576
Latest member
SadaSoda
Top