SetGameSpeed
- Parameters
-
whichspeed gamespeed
The gamespeed constant to be set as new speed. The only allowed values are:
MAP_SPEED_SLOWEST
,MAP_SPEED_SLOW
andMAP_SPEED_NORMAL
, becauseMAP_SPEED_FAST
andMAP_SPEED_FASTEST
are automatically reverted to normal speed. - comment
-
Sets a new gamespeed to run the map at.
- note
-
See:
gamespeed
for values and mechanics. - patch
-
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
nothing
- Source code
-
native SetGameSpeed takes gamespeed whichspeed returns nothing