-
Notifications
You must be signed in to change notification settings - Fork 1
StringTime
Hyomoto edited this page Oct 16, 2020
·
12 revisions
Jump To | Go Back |
Arguments | Methods | Variables |
---|
Given a time, in seconds, will output it as formatted time string.
var _time = new StringTime( get_timer(), 0, "$H hours, $M minutes, and $seconds" );
show_debug_message( _time );
Name | Type | Purpose |
---|---|---|
seconds | int |
The number of seconds |
decimals | int |
How many decimals each time should contain |
format | string |
The display format, $H, $M and $S will be replaced with hours, minutes, and seconds |
Jump To | top |
set |
---|
Returns: N/A 'undefined`
Name | Type | Purpose |
---|---|---|
seconds | int |
The number of seconds to set the time to |
Will format the provided seconds into a formatted time string.
Jump To | top |
---|
- format - none provided
- decimals - none provided
Devon Mullane 2020