DIFF

class DayZInfectedCommandScriptSource

DayZInfectedCommandScript AnimCommandBase

All members, including inherited

Constructors 2

void DayZInfectedCommandScript(DayZInfected pInfected)

constructor must have 1st parameter to be DayZInfected

void ~DayZInfectedCommandScript()

Methods 11

proto native void SetFlagFinished(bool pFinished)

this terminates command script and shows CommandHandler( ... pCurrentCommandFinished == true );

proto native bool PrePhys_GetTranslation(out vector pOutTransl)

script function usable in PrePhysUpdate

proto native bool PrePhys_GetRotation(out float pOutRot[4])

quaternion in local space !

proto native void PrePhys_SetTranslation(vector pInTransl)

vec3 in local space !

proto native void PrePhys_SetRotation(float pInRot[4])

quaternion in local space !

bool PostPhysUpdate(float pDt)

override this ! final adjustment of physics state (after physics was applied) returns true if command continues running / false if command should end (or you can use SetFlagFinished(true))

proto native void PostPhys_GetPosition(out vector pOutTransl)

script function usable in PostPhysUpdate

proto native void PostPhys_GetRotation(out float pOutRot[4])

quaternion in world space

proto native void PostPhys_SetPosition(vector pInTransl)

vec3 in world space

proto native void PostPhys_SetRotation(float pInRot[4])

quaternion in world space

proto native void PostPhys_LockRotation()

do not process rotations !