Difference between revisions of "setTimeMultiplier"

From Bohemia Interactive Community
Jump to navigation Jump to search
(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

Template:Command

Notes

Bottom Section