Files
NGECore2/scripts/commands/kneel.py
T
Ziggeh 0025e2787c Changed Kneel command script
Now uses the Posture datatable
2014-06-29 23:58:50 +02:00

17 lines
322 B
Python

import sys
from resources.datatables import Posture
def setup():
return
def run(core, actor, target, commandString):
if actor.getPosture() == Posture.Incapacitated or actor.getPosture() == Posture.Dead:
return
actor.setPosture(Posture.Crouched)
actor.setSpeedMultiplierBase(0)
actor.setTurnRadius(0)
return