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.

[RESOLVED] How to get event character name?

Khoa

Member

I want to get the character name of an event on map but i don't know how to do that, someone please help me, thank you! :D
 
.....what do you mean?
Like, the name of the event? EVENT0001 or some shit like that?
or if you choose a character sprite, the name of that sprite?
cause, if it's the name of the event, open up the event box...
is that what you mean?
 
Me, I would open up the characters folder and look for it.
Or, when choosing what character the event should be, check the name.
Or you're using the name of the character sprite file in the game, calling it and then using it, for whatever, reason, and while it would be script support-ish, I'd feel that this thread should thus be in the script request board.
Or you're looking for a sprite on the internet, thus this would be a resource request.
 
~It would be much more helpful if you could elaborate.

Look at:
viewtopic.php?f=155&t=56258

Overall, again elaborate what you are looking for, as I have no clue what you are talking about. The more specific you are, the easier it makes helping you out and the faster the process goes. Your problem may have been already solved but we would not know nor would others looking at this thread. Again, it makes the member base's lives a lot easier the more you elaborate and for future references, it would be nice if you do so instead of having us play the guessing game. We have tons of members willing to help and who want to help, just help us out so we can help you. :)
 

Khoa

Member

I'm not good at english so I don't know how to express it ^^!
I mean I want to check the event if it has a graphic or not, if it hasn't, it won't have a shadow.
Thank Daxis and bacon, the problem solved by myself :D
This is the code i need: $game_map.events.character_name.
However, I don't know how a coder get that code, I only try, try, try many code and this one is right.
 

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