Status
Not open for further replies.

stramin

Veteran
Veteran
Joined
Nov 4, 2012
Messages
201
Reaction score
91
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
201
Reaction score
91
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,750
Reaction score
8,744
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

No matter how many times I listen to him, I know this is Joker speaking, but my brain can only hear Dagda.
Does anyone know of NPC sprites for RMMZ? I know of Flirion's RMMV recolours, but RMMZ's sprites are slimmer and more detailed, so I'm a bit on the edge to use Flirion's im RMMZ...
I can't believe that after all those years, KH Union X Dark Road is closing the services.

Due to a situation in which I thought plugin adaptations had stopped for the QPlugins, I "ghetto" converted these 7 over yesterday. They appear to work perfectly as long as you use old style plugin commands. I am uncertain if I will have a lot of free time in the future to work on this, but if you'd like them, here they are.
Was there a thread that you could share a screenshot of your game? I feel like I found it once but can't locate it again.

Forum statistics

Threads
108,819
Messages
1,039,789
Members
141,277
Latest member
FeatherStone
Top