Jump to content
Sign in to follow this  
Aramis-IX

What is the Script Call for "This Event"?

Recommended Posts

I've been trying to figure out the code / designation that the gui editor is calling whenever you indicate that you want to use "this event" from the interface. I understand that, when scripting, you would normally access the event and call methods by indicating its eventID in the array of events; i.e. $game_map.events[eventID]... ect.... But I would love to circumvent this step by indicating "this event" followed by the method / function (it makes my life a lot easier and would accomplish what I'm attempting more elegantly than at present). I know its possible since the gui editor does something very similar, or at the very least, passes along its eventID without the user having to pass it in.  

 

I would really appreciate any and all help! Thanks!

Share this post


Link to post
Share on other sites

You can use from within an event's event commands:

 

$game_map.events[@event_id]

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted