Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
SetMovementRestriction
Syntax
C++
virtual int SetMovementRestriction(IFunctionHandler * pH, bool, bool);

Syntax: Actor.SetMovementRestriction(true, true) 

Sets movement restriction. First param is bAllowSprint and second param is bAllowRun.

It is not possible to disable run but keep sprint.

Copyright (c) 2012. All rights reserved.