Jump to content

Time Control in scripting


Xedric

Recommended Posts

I'm trying to make a script that will change the time to whatever the user wants. I've been building a tardis and I want you to be able to change the time of day with the console. So what I need is a command that will pretty much just go.

 

scn Time

 

float X

 

Begin GameMode

Changetime X

End

 

Which brings me to my next issue. Is there a way to bring up a prompt in which the user can enter a number? Because if not then I would be forced to have a pair of buttons that add and subtract from a particular variable in order to tell it what time to change to. This is all of course dependent on whether or not I can set the time.

Edited by Xedric
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...