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.

Getting an event name

Alato

Member

Hi ^^

In order to create a script I need to get the name from the event...but I don't now how!

Would you be so kind to explain me how to find it? I'm talking about the name you gave to an event in the Map Editor.

Thank you very much, and sorry for the bad English :°D
 

Alato

Member

Thank you very much Sephirot! :D

I thought it were more difficult...sorry for the obvious question :°°

( I was trying with a call to RPG::Event module and other things that I don't understand at all ;O; )

If I have some other (very) little question to ask I can use this thread or I have to create another thread?
 
Go ahead.

The RPG::Event is actually a sub-class within the RPG module. Whenever you create an event, pressing Ok creates and stores your event automatically in the MapXXX.rxdata file.

When you load a map, the RPG::Event(s) are immeditately stored into the Game_Event class under the instance @event. Game_Event uses the same methods as player in the Game_Character class which controls movement and such. Sprite_Character uses as an instance these settings to display them on the map on the spriteset.

Just a little FYI because I feel like 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