RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Calling a script?

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 89
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?

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Just look here: http://www.dubealex.com/asylum/index.php?showtopic=2432
You can use them in the call script box.

**
Rep:
Level 89
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..?