Status
Not open for further replies.

stramin

Veteran
Veteran
Joined
Nov 4, 2012
Messages
202
Reaction score
92
First Language
spanish
Primarily Uses
N/A
Is there any way to know the current event id?
I mean, the event running the code.

For example, I have this code in an event

Code:
var this = $gameMap.event(this???);

And I want to know the id of the event itself to be able to copy/respawn the event later.
 

stramin

Veteran
Veteran
Joined
Nov 4, 2012
Messages
202
Reaction score
92
First Language
spanish
Primarily Uses
N/A
Ok, I got it!

Code:
var this = $gameMap.event(this._eventId);
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,795
Reaction score
8,764
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

-Updated- Lowered fog / found more problems :kaoswt2:
6 more weeks of this nutty semester. Then maybe I'll have time to game make. After I curl up and sleep for a day or two that is.
Wondering how big I can make Dorothy's skill menu before the game just becomes irredeemably bad.
Studio Blue is playing the RPG Maker game Phil Alone live now! Phil may be alone, but you don't have to be, come join us in chat!

Forum statistics

Threads
109,209
Messages
1,043,078
Members
141,725
Latest member
718346584zy
Top