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]Self Switches From Another Event

Status
Not open for further replies.
Code:
key = [map_id, event_id, switch]
$game_selfswitches[key] = boolean
$game_map.need_refresh = true
map_id is the map in which the event is, event_id is the event's id, switch is either 'A', 'B', 'C' or 'D', and boolean is true or false.
 
Thanks a lot. i assume i can just put

Code:
$game_selfswitches[map_id, event_id, switch] = boolean
$game_map.need_refresh = true

right?

btw how do i put a [RESOLVED] infront of the title of this post, or can only mods do that?
 
This topic has been resolved. If Metcalfe80 or any other users have any questions or further problems regarding this topic, please create a new thread about them.

Thank you!
 
Status
Not open for further replies.

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