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,781
Reaction score
8,758
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 Profile Posts

Pfft! If other people would stop replying to threads, I could DOMINATE the Latest Posts box!
After so many hours of debugging, losing data to crashes, and slight adjustments.
BlackJack now deals cards perfectly! Time to adjust the background and implement the game logic so you can actually play it.BlackJack.png
I once thought about a boss gauntled game. I actually did it.
Stream will be live shortly with some Gex 3! Feel free to drop by!

Forum statistics

Threads
109,061
Messages
1,041,728
Members
141,551
Latest member
Thwon
Top