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.

A little question

wlzza

Sponsor

Just a small question but lots of appreciation if could help. I just want to know what's the command to call a common event within a script.

Cheers
 
First try;

$game_temp.common_event_id = id of the common event you want to call.

If that doesn't work try;


$game_map.common_events[id].interpreter = Interpreter.new

id = is the common event ID

You do have to edit Game_Map and Game_CommonEvent. Go to Game_Map and put this right under "class Game_Map"

attr_accessor :common_events

and then go to Game_CommonEvent and put this right under "class Game_CommonEvent"

attr_accessor :interpreter

I'm not sure if it would work, I didn't test it.
 

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