Data Structures | |
| class | DayZCreatureAnimInterface |
| class | DayZCreature |
| class | AnimCommandBase |
| base class of all commands exposed to script to provide common functionality over animations More... | |
| class | DayZCreatureAI |
| do not process rotations ! More... | |
Functions | |
| class DayZCreatureAnimInterface | RegisterAnimationEvent (string event_name, string function_name) |
| private void | DayZCreatureAnimInterface () |
| private void | ~DayZCreatureAnimInterface () |
| proto native TAnimGraphCommand | BindCommand (string pCommandName) |
| returns command index - | |
| proto native TAnimGraphVariable | BindVariableFloat (string pVariable) |
| proto native TAnimGraphVariable | BindVariableInt (string pVariable) |
| proto native TAnimGraphVariable | BindVariableBool (string pVariable) |
| proto native TAnimGraphTag | BindTag (string pTagName) |
| proto native TAnimGraphEvent | BindEvent (string pEventName) |
| proto native void | SetAnimationInstanceByName (string animation_instance_name, int instance_uuid, float duration) |
| proto native int | GetCurrentAnimationInstanceUUID () |
| proto native DayZCreatureAnimInterface | GetAnimInterface () |
| proto native void | UpdateSimulationPrecision (int simLOD) |
| proto native void | StartDeath () |
| proto native void | ResetDeath () |
| proto native void | ResetDeathCooldown () |
| proto native bool | IsDeathProcessed () |
| proto native bool | IsDeathConditionMet () |
| proto native int | GetBoneIndexByName (string pBoneName) |
| returns bone index for a name (-1 if pBoneName doesn't exist) | |
| override bool | IsDayZCreature () |
| override bool | CanBeSkinned () |
| override bool | IsIgnoredByConstruction () |
| override bool | IsManagingArrows () |
| override bool | DisableVicinityIcon () |
| override void | AddArrow (Object arrow, int componentIndex, vector closeBonePosWS, vector closeBoneRotWS) |
| override bool | HasFixedActionTargetCursorPosition () |
| override void | GetDebugActions (out TSelectableActionInfoArrayEx outputList) |
| override bool | OnAction (int action_id, Man player, ParamsReadContext ctx) |
| bool | ModCommandHandlerBefore (float pDt, int pCurrentCommandID, bool pCurrentCommandFinished) |
| bool | ModCommandHandlerInside (float pDt, int pCurrentCommandID, bool pCurrentCommandFinished) |
| bool | ModCommandHandlerAfter (float pDt, int pCurrentCommandID, bool pCurrentCommandFinished) |
| class DayZAnimalCommandMove extends AnimCommandBase | SetFlagFinished (bool pFinished) |
| DayZAnimalCommandScript fully scriptable command. | |
| proto native bool | PrePhys_GetTranslation (out vector pOutTransl) |
| script function usable in PrePhysUpdate | |
| proto native bool | PrePhys_GetRotation (out float pOutRot[4]) |
| proto native void | PrePhys_SetTranslation (vector pInTransl) |
| proto native void | PrePhys_SetRotation (float pInRot[4]) |
| bool | PostPhysUpdate (float pDt) |
| proto native void | PostPhys_GetPosition (out vector pOutTransl) |
| script function usable in PostPhysUpdate | |
| proto native void | PostPhys_GetRotation (out float pOutRot[4]) |
| vec3 in world space | |
| proto native void | PostPhys_SetPosition (vector pInTransl) |
| quaternion in world space | |
| proto native void | PostPhys_SetRotation (float pInRot[4]) |
| vec3 in world space | |
| proto native void | PostPhys_LockRotation () |
| quaternion in world space | |
Variables | |
| class DayZCreatureAI extends DayZCreature | COMMANDID_MOVE |
| class DayZCreatureAI extends DayZCreature | COMMANDID_JUMP |
| class DayZCreatureAI extends DayZCreature | COMMANDID_DEATH |
| class DayZCreatureAI extends DayZCreature | COMMANDID_HIT |
| class DayZCreatureAI extends DayZCreature | COMMANDID_ATTACK |
| class DayZCreatureAI extends DayZCreature | COMMANDID_SCRIPT |
| proto native TAnimGraphCommand BindCommand | ( | string | pCommandName | ) |
returns command index -
| proto native TAnimGraphEvent BindEvent | ( | string | pEventName | ) |
| proto native TAnimGraphTag BindTag | ( | string | pTagName | ) |
| proto native TAnimGraphVariable BindVariableBool | ( | string | pVariable | ) |
| proto native TAnimGraphVariable BindVariableFloat | ( | string | pVariable | ) |
| proto native TAnimGraphVariable BindVariableInt | ( | string | pVariable | ) |
| override bool CanBeSkinned | ( | ) |
| private void DayZCreatureAnimInterface | ( | ) |
| override bool DisableVicinityIcon | ( | ) |
| proto native DayZCreatureAnimInterface GetAnimInterface | ( | ) |
returns bone index for a name (-1 if pBoneName doesn't exist)
Referenced by AddArrow(), DayZInfected::AddArrow(), ManBase::AddArrow(), DayZInfected::GetCenter(), ManBase::GetCenter(), ManBase::GetDrowningWaterLevelCheck(), ManBase::SetDecayEffects(), ManBase::SpawnBreathVaporEffect(), and ManBase::SpawnDrowningBubbles().
| proto native int GetCurrentAnimationInstanceUUID | ( | ) |
| override void GetDebugActions | ( | out TSelectableActionInfoArrayEx | outputList | ) |
References SAT_DEBUG_ACTION.
| override bool HasFixedActionTargetCursorPosition | ( | ) |
Referenced by ActionTargetsCursor::GetOnScreenPosition().
| override bool IsDayZCreature | ( | ) |
Referenced by IEntity::CanBeIgnoredByDroppedItem().
| proto native bool IsDeathConditionMet | ( | ) |
| proto native bool IsDeathProcessed | ( | ) |
| override bool IsIgnoredByConstruction | ( | ) |
| override bool IsManagingArrows | ( | ) |
Referenced by DayZCreatureAI::CommandHandler(), DayZInfected::CommandHandler(), and DayZPlayer::CommandHandler().
ModOverrides
Referenced by DayZCreatureAI::CommandHandler(), DayZInfected::CommandHandler(), and DayZPlayer::CommandHandler().
Referenced by DayZCreatureAI::CommandHandler(), DayZInfected::CommandHandler(), and DayZPlayer::CommandHandler().
| override bool OnAction | ( | int | action_id, |
| Man | player, | ||
| ParamsReadContext | ctx | ||
| ) |
References GetGame(), CGame::GizmoSelectObject(), and CGame::GizmoSelectPhysics().
| proto native void PostPhys_GetPosition | ( | out vector | pOutTransl | ) |
script function usable in PostPhysUpdate
| proto native void PostPhys_GetRotation | ( | out float | pOutRot[4] | ) |
vec3 in world space
| proto native void PostPhys_LockRotation | ( | ) |
quaternion in world space
| proto native void PostPhys_SetPosition | ( | vector | pInTransl | ) |
quaternion in world space
| proto native void PostPhys_SetRotation | ( | float | pInRot[4] | ) |
vec3 in world space
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))
script function usable in PrePhysUpdate
| proto native void PrePhys_SetRotation | ( | float | pInRot[4] | ) |
| proto native void PrePhys_SetTranslation | ( | vector | pInTransl | ) |
| class DayZCreatureAnimInterface RegisterAnimationEvent | ( | string | event_name, |
| string | function_name | ||
| ) |
Referenced by ActionUnfoldMapCB::ActionUnfoldMapCB(), ActionContinuousBaseCB::InitActionComponent(), ActionInteractBaseCB::InitActionComponent(), ActionSingleUseBaseCB::InitActionComponent(), ActionActivateTrapCB::InitActionComponent(), ActionArmExplosiveCB::InitActionComponent(), ActionFishingNewCB::InitActionComponent(), and DayZCreature::RegisterAnimEvents().
| proto native void ResetDeath | ( | ) |
| proto native void ResetDeathCooldown | ( | ) |
Referenced by DayZPlayer::ResetDeathStartTime(), and DayZPlayer::TriggerPullPlayerOutOfVehicleImpl().
| proto native void SetAnimationInstanceByName | ( | string | animation_instance_name, |
| int | instance_uuid, | ||
| float | duration | ||
| ) |
| class DayZAnimalCommandMove extends AnimCommandBase SetFlagFinished | ( | bool | pFinished | ) |
DayZAnimalCommandScript fully scriptable command.
| proto native void StartDeath | ( | ) |
| proto native void UpdateSimulationPrecision | ( | int | simLOD | ) |
| private void ~DayZCreatureAnimInterface | ( | ) |
| class DayZCreatureAI extends DayZCreature COMMANDID_ATTACK |
| class DayZCreatureAI extends DayZCreature COMMANDID_DEATH |
| class DayZCreatureAI extends DayZCreature COMMANDID_HIT |
| class DayZCreatureAI extends DayZCreature COMMANDID_JUMP |
| class DayZCreatureAI extends DayZCreature COMMANDID_MOVE |
| class DayZCreatureAI extends DayZCreature COMMANDID_SCRIPT |