Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
corpsegirl

Script to save event ID as variable

Question

Not sure how to call the current event's ID with a script command.

 

I want to do something like $game_variables[???] = event_id (this event)

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Not sure how to call the current event's ID with a script command.

 

I want to do something like $game_variables[???] = event_id (this event)

 

Hi, you were almost exactly right.

For example to store the current event id in variable#100 just do

$game_variables[100] = @event_id

in a script command for the event.

Share this post


Link to post
Share on other sites
  • 0

thanks muchly. Would you mind pointing me in the right direction here as well?

$game_variables[61] = @enemy_id.str

 

From what I have read that should get the str of an enemy but I am not sure where to insert the ID of the enemy I want to pull that data from. I tried placing a [1] in various spots but that didn't seem to work. I'm still new to messing with this and don't understand all the commands built into the game are.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...