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.

Problem with Deke's Day/night script

i'm using Deke's and Near Fantastica day/night script. and i'm trying to use
an event where a npc says something different in the daytime and
something else at night.
I tired this $game_time.get_hour.between(7,10) but i kept getting a
syntax error. can someone tell me what i'm doing wrong.[/FONT]
 
oh! i have a question similar to this...
(so i'm gonna piggyback off your thread.. ^_^)

anyway, how would you even go about doing this? i've read in places that you need to add what they were just talking about into the script, but i have no idea how to do that... >.<
 
make an event.
Use a conditional branch on the 4th tab click on the Script radio button.
at the : $game_time.get_hour.between?(7, 14)
that's all.

i.e.:
Code:
@>Conditional Branch : Script: $game_time.get_hour.between?(7,10)
  @> Text : Hello.
   else
  @> Text : Goodnight.
 

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