Advanced Game Time Script help

● ARCHIVED · READ-ONLY
Started by Capitán 3 posts View original ↗
  1. So I'm using this script here

    I've been able to do what I needed with it so far until I tried to make this:

    K3hMEjm.png

    When testing this I got this error;

    srktk1B.png

    So I tried different variations;

    GameTime.day_week?(Wed)GameTime.day_week?(4)GameTime.day?(Wednesday)GameTime.day?(Wed)GameTime.day?(4)all to no avail, 

    Can I not do this with this script?
  2. GameTime.day_week? does not take an argument. This IS indicated in the documentation.


    GameTime.day_week? returns a number that represents the day of the week. I don't have time to look closely enough to know whether it starts from 0 or from 1, and whether that means Sunday or Monday.


    You would use it like this (I'm assuming day 0 is Sunday):

    Code:
    Conditional Branch: Script: GameTime.day_week? == 3
    Your best bet is to use this:
    Code:
    Conditional Branch: Script: GameTime.day_name == "Wednesday"
    or this:
    Code:
    Conditional Branch: Script: GameTime.day_name_abbr == "Wed"
  3. Thanks I must've missed that.