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.

Tibuda's Event Trigger help

In tibuda's script i need comments in order to trigger

Trigger $ats.hours >= 22 and $ats.hours <= 21

That's an example but what would be the syntax if i want to trigger when a switch is on?
 

Ozuf

Member

I don't know what Tibuda's script is but if you want to access the global switches, they are stored as a Game_Switches instance in the variable $game_switches. The class is very simple so read it through.
$game_self_switches works the same but the key is instead an array [mapid,eventid,sym] where sym is the variable character.

Sure you mean x >= 22 && x <= 21 as there is no such x.
 

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