Description
Returns true if player is allowed to sprint
Syntax
isSprintAllowed unit
Parameters:
unit: Object
Returns: Boolean
Examples
Example 1
if (not isSprintAllowed player) then { hint "no running in the corridors!" };
Also available as Markdown and JSON, or read the original wiki page.
Returns true if player is allowed to sprint
isSprintAllowed unit
Parameters:
unit: ObjectReturns: Boolean
if (not isSprintAllowed player) then { hint "no running in the corridors!" };