Set event position to relative coordinates?

Geoff Moore

Composer for Hire
Veteran
Joined
Jun 12, 2014
Messages
1,399
Reaction score
731
First Language
English
Primarily Uses
N/A
I want to use Set Event Location to move an event to the top of the map while keeping it's current x position. There will be a large number of events on the map doing this, so I'd like to call a common event from each. The obvious solution would be to set a variable to the event's x position, but I don't want to have to make a separate variable for all of the objects. Any ideas? Thanks for reading!
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Just use 1 variable for all of them and also just one common event... They won't clash as its an instant effect anyway..

PS: what do you want anyway, each event will call a common event or a common event will move them all at once?
 
Last edited by a moderator:

Geoff Moore

Composer for Hire
Veteran
Joined
Jun 12, 2014
Messages
1,399
Reaction score
731
First Language
English
Primarily Uses
N/A
Ha, nice! Didn't think that would work. Thank you! (Each calls a single common event).
 

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,862
Messages
1,017,045
Members
137,569
Latest member
Shtelsky
Top