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!" };
Results appear below as you type; use the arrow keys to move through them.
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!" };