setTimeMultiplier: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(see also, example)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets a TimeMultiplier so time goes faster. |= Description
| Sets a time multiplier for in-game time. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 14: Line 14:
|p1= Multiplier: [[Number]]. |= Parameter 1
|p1= Multiplier: [[Number]]. |= Parameter 1


|p2= |= PARAMETER2
|p3= |= PARAMETER3


| [[Nothing]] |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  




|x1= <code>_this <nowiki>=</nowiki> [[setTimeMultiplier]] 1;</code> |= Example 1
|x1= <code>[[setTimeMultiplier]] 60;</code> |= Example 1
|x2= <code>[[setTimeMultiplier]] 0.5;</code> |= Example 2


____________________________________________________________________________________________
____________________________________________________________________________________________


|[[TimeMultiplier]]  |= SEEALSO
|[[timeMultiplier]], [[skipTime]], [[setAccTime]], [[accTime]], [[time]], [[serverTime]], [[date]], [[daytime]]  |= SEEALSO


|mp= Server-side only in multi-player and it works in single-player as well.|= MPBEHAVIOUR  
|mp= Server-side only in multi-player and it works in single-player as well.|= MPBEHAVIOUR  

Revision as of 22:20, 15 July 2014

Hover & click on the images for description

Description

Description:
Sets a time multiplier for in-game time.
Multiplayer:
Server-side only in multi-player and it works in single-player as well.
Groups:
Uncategorised

Syntax

Syntax:
setTimeMultiplier value
Parameters:
Multiplier: Number.
Return Value:
Nothing

Examples

Example 1:
setTimeMultiplier 60;
Example 2:
setTimeMultiplier 0.5;

Additional Information

See also:
timeMultiplierskipTimesetAccTimeaccTimetimeserverTimedatedaytime

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section