Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Question on '@event_id'

How would I print/set up '@event_id' under Move Route with the Autonomous Movement type as Custom?  Right now it only comes out as 'nil'.

Any help appreciated.  ^_^
 
I was pretty specific but I'll explain. 
I have a script for VX created by me and some friends where you can re-create any event on any map when the script command is called.  In a game I am making, enemies can re-create events which are projectiles using:
Code:
$game_map.events['number']
as the starting location.  If I replace 'number' with @event_id then I can copy-paste the calling event without editing the event.  The problem is, when you select Custom Move Type and call the script from there, @event_id becomes nil.  The reason why I am using the Custom Move Type and not Parallel Process is not only to limit event lag but also because if the monster "shooting fireballs" touches you, you get injured.

Was this explanation good enough?  I think I said it all exactly.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top