The call script function...
1. Can it be used to change variables within a script (EX:A day night script ... changing the hour of the day variable.)
2. What would the syntax be to call a script like this?
Just look here: http://www.dubealex.com/asylum/index.php?showtopic=2432
You can use them in the call script box.
That page helps a little, but I still do not get how to change it from a call event.
I will give what I need here -
The script is called game_time it has variables that manage how long each how is, the year, etc.
I think the current hour addition is done with this command...
def add_hours(hours)
@minutes +=hours*@hour_length
end
How would I make a call event to change the hour of the day..?