HPL3/Amnesia: Rebirth/Scripting/cLuxAgent
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
- 1 Fields
- 2 Functions
- 3 Details
- 3.1 AddCollideCallback
- 3.2 AddConnection
- 3.3 AppendAnimation
- 3.4 AttachToEntity
- 3.5 AttachToSocket
- 3.6 BroadcastMessage
- 3.7 CalculateRootMotion
- 3.8 CanInteract
- 3.9 ChangeConnectionState
- 3.10 CheckBodyCollision
- 3.11 CheckCharacterCollision
- 3.12 CheckEntityCollision
- 3.13 CheckIsOnScreen
- 3.14 CheckShapeCollision
- 3.15 CollidesWithPlayer
- 3.16 CreateParticleSystem
- 3.17 CreateParticleSystemOnBone
- 3.18 DrawProjDebugText
- 3.19 FadeEffectBaseColor
- 3.20 FadeMeshScaleMul
- 3.21 Fader_ClearAll
- 3.22 Fader_FadeTo
- 3.23 Fader_FadeTo
- 3.24 Fader_GetValue
- 3.25 Fader_GetValue
- 3.26 Fader_Set
- 3.27 Fader_Set
- 3.28 Fader_SetPaused
- 3.29 Fader_SetPaused
- 3.30 GetAlignEntityWithGroundMaxRayDistance
- 3.31 GetAlignEntityWithGroundRay
- 3.32 GetAlignEntityWithGroundRelativeRayStart
- 3.33 GetAngleToPlayer2D
- 3.34 GetAngleToPlayer3D
- 3.35 GetAngleToPos2D
- 3.36 GetAngleToPos3D
- 3.37 GetAnimationIsPlaying
- 3.38 GetAttachEntity
- 3.39 GetAutoSleep
- 3.40 GetBaseEntityOffset
- 3.41 GetBaseMaterial
- 3.42 GetBaseMatrix
- 3.43 GetBasePosition
- 3.44 GetBillboardFromName
- 3.45 GetBody
- 3.46 GetBodyFromID
- 3.47 GetBodyFromName
- 3.48 GetBodyIndexFromName
- 3.49 GetBodyNum
- 3.50 GetCharBody
- 3.51 GetCheckForDoors
- 3.52 GetClassName
- 3.53 GetClosestBody
- 3.54 GetClosestCharCollideBody
- 3.55 GetClosestCharCollider
- 3.56 GetClosestEntity
- 3.57 GetComponentByType
- 3.58 GetCurrentAnimationIndex
- 3.59 GetCurrentAnimationState
- 3.60 GetCurrentPlayerSightDistance
- 3.61 GetDebugEyeRay
- 3.62 GetDebugEyeRaysNum
- 3.63 GetDistanceToGround
- 3.64 GetDistanceToGround
- 3.65 GetDistanceToPlayer
- 3.66 GetDistanceToPlayer2D
- 3.67 GetDistanceToPos
- 3.68 GetDistanceToPos2D
- 3.69 GetDistFromLastKnownToActualPlayerPos
- 3.70 GetEffectBaseColor
- 3.71 GetEffectsActive
- 3.72 GetEffectsAlpha
- 3.73 GetEffectsOffSound
- 3.74 GetEffectsOffTime
- 3.75 GetEffectsOnSound
- 3.76 GetEffectsOnTime
- 3.77 GetEntityIsInPlayerFOV
- 3.78 GetEntityIsInPlayerLineOfSight
- 3.79 GetEntityIsInPlayerLineOfSight
- 3.80 GetEntityType
- 3.81 GetEventInstanceTag
- 3.82 GetEventTag
- 3.83 GetEyePostion
- 3.84 GetFileName
- 3.85 GetForceLookAtCheck
- 3.86 GetFOV
- 3.87 GetFOVMul
- 3.88 GetGroundAlignPosition
- 3.89 GetHitboxBody
- 3.90 GetHitboxBodyNum
- 3.91 GetID
- 3.92 GetIgnoreDynamicAvoidance
- 3.93 GetInteractIconId
- 3.94 GetInteractionDisabled
- 3.95 GetIsClosedDoor
- 3.96 GetIsDoor
- 3.97 GetLastCreatedSoundIsPlaying
- 3.98 GetLastKnownPlayerPos
- 3.99 GetLensFlareFromName
- 3.100 GetLightFromName
- 3.101 GetLightLevelAtPos
- 3.102 GetMainBody
- 3.103 GetMap
- 3.104 GetMatrix
- 3.105 GetMaxCheckDoorDistance
- 3.106 GetMaxInteractDistance
- 3.107 GetMeshEntity
- 3.108 GetMeshScaleMul
- 3.109 GetName
- 3.110 GetOnLoadOffsetTransform
- 3.111 GetOnLoadScale
- 3.112 GetOnLoadTransform
- 3.113 GetParentId
- 3.114 GetParentName
- 3.115 GetParentType
- 3.116 GetParticleSystemFromName
- 3.117 GetPlayerDetectedCount
- 3.118 GetPlayerDir
- 3.119 GetPlayerFeetPos
- 3.120 GetPlayerHeadPos
- 3.121 GetPlayerIsInFOV
- 3.122 GetPlayerIsInFOV
- 3.123 GetPlayerIsInLineOfSight
- 3.124 GetPlayerIsInLineOfSight
- 3.125 GetPlayerIsInLineOfSight
- 3.126 GetPlayerIsInLineOfSight
- 3.127 GetPlayerMovementTowardEntity
- 3.128 GetPlayerPos
- 3.129 GetPointIsInFOV
- 3.130 GetPointIsInFOV
- 3.131 GetPointIsInFront
- 3.132 GetPointIsInLineOfSight
- 3.133 GetPosition
- 3.134 GetRagdollActive
- 3.135 GetRagdollBodyFromHitboxName
- 3.136 GetRagdollBodyFromName
- 3.137 GetRelativeEyeHeight
- 3.138 GetReturnBool
- 3.139 GetReturnFloat
- 3.140 GetReturnInt
- 3.141 GetReturnString
- 3.142 GetSaveDataIsUpdated
- 3.143 GetScriptableIsSaved
- 3.144 GetSensesActive
- 3.145 GetSightRange
- 3.146 GetSightRangeAffectedByModifiers
- 3.147 GetSightRangeMul
- 3.148 GetSoundEntityFromName
- 3.149 GetStaticCollider
- 3.150 GetVarBool
- 3.151 GetVarColor
- 3.152 GetVarFloat
- 3.153 GetVariableUpdateRate
- 3.154 GetVarInt
- 3.155 GetVarString
- 3.156 GetVarVector2f
- 3.157 GetVarVector3f
- 3.158 GetVoiceAttachNode
- 3.159 GiveDamage
- 3.160 HasCollideCallbacks
- 3.161 HasPlayerInteractCallback
- 3.162 HasPlayerInteractLeaveCallback
- 3.163 HasPlayerLookAtCallback
- 3.164 IncVarFloat
- 3.165 IncVarInt
- 3.166 IncVarVector2f
- 3.167 IncVarVector3f
- 3.168 IsActive
- 3.169 IsEffectsFading
- 3.170 IsInteractedWith
- 3.171 IsLookedAtByPlayer
- 3.172 IsOccluder
- 3.173 IsSleeping
- 3.174 OnInteract
- 3.175 PlayAnimation
- 3.176 PlayerIsDetected
- 3.177 PlayerIsSeen
- 3.178 PlaySound
- 3.179 PostUpdate
- 3.180 PreloadEntityModel
- 3.181 RemoveAllConnections
- 3.182 RemoveCollideCallback
- 3.183 RemoveConnection
- 3.184 RemoveEntityAttachment
- 3.185 ResetPlayerDetectionState
- 3.186 RevealPlayerPos
- 3.187 RunPlayerInteractLeaveCallback
- 3.188 ScriptExecute
- 3.189 ScriptMethodExists
- 3.190 ScriptMethodExistsFast
- 3.191 ScriptPrepare
- 3.192 ScriptPrepareFast
- 3.193 SetActive
- 3.194 SetAlignEntityWithGroundMaxRayDistance
- 3.195 SetAlignEntityWithGroundRay
- 3.196 SetAlignEntityWithGroundRelativeRayStart
- 3.197 SetAnimationCallbackActive
- 3.198 SetAnimationMessageEventCallback
- 3.199 SetArgBool
- 3.200 SetArgFloat
- 3.201 SetArgInt
- 3.202 SetArgString
- 3.203 SetAutoDisableCallback
- 3.204 SetAutoDisableWhenOutOfSightActive
- 3.205 SetAutoSleep
- 3.206 SetCheckForDoors
- 3.207 SetCheckForDoorsCount
- 3.208 SetConnectionStateChangeCallback
- 3.209 SetCurrentAnimationPaused
- 3.210 SetCustomEffectsOffAlpha
- 3.211 SetEffectBaseColor
- 3.212 SetEffectsActive
- 3.213 SetEffectsOffTime
- 3.214 SetEffectsOnTime
- 3.215 SetEventInstanceTag
- 3.216 SetForceLookAtCheck
- 3.217 SetFOV
- 3.218 SetFOVMul
- 3.219 SetFullGameSave
- 3.220 SetIgnoreDynamicAvoidance
- 3.221 SetIlluminationBaseColor
- 3.222 SetInteractionDisabled
- 3.223 SetIsClosedDoor
- 3.224 SetIsDoor
- 3.225 SetIsInteractedWith
- 3.226 SetIsOccluder
- 3.227 SetLookAtCheckCenterOfScreen
- 3.228 SetLookAtCheckRayIntersection
- 3.229 SetLookAtMaxDistance
- 3.230 SetMatrix
- 3.231 SetMaxCheckDoorDistance
- 3.232 SetMaxInteractDistance
- 3.233 SetMeshScaleMul
- 3.234 SetNormalizeAnimationWeights
- 3.235 SetPlayerDetectedMinTime
- 3.236 SetPlayerInteractCallback
- 3.237 SetPlayerInteractLeaveCallback
- 3.238 SetPlayerLookAtCallback
- 3.239 SetPosition
- 3.240 SetRagdollActive
- 3.241 SetRecieveMessageCallback
- 3.242 SetRelativeEyeHeight
- 3.243 SetSaveDataIsUpdated
- 3.244 SetScriptableIsSaved
- 3.245 SetSensesActive
- 3.246 SetSightRange
- 3.247 SetSightRangeAffectedByModifiers
- 3.248 SetSightRangeMul
- 3.249 SetSoundVolume
- 3.250 SetStaticCollider
- 3.251 SetUpdatePlayerDetection
- 3.252 SetUpdatePlayerDetection
- 3.253 SetupParent
- 3.254 SetupRootBoneMotion
- 3.255 SetVarBool
- 3.256 SetVarColor
- 3.257 SetVarFloat
- 3.258 SetVariableUpdateRate
- 3.259 SetVarInt
- 3.260 SetVarString
- 3.261 SetVarVector2f
- 3.262 SetVarVector3f
- 3.263 Sleep
- 3.264 StopAllAnimations
- 3.265 StopAnimation
- 3.266 StopAnimation
- 3.267 StopEffectBaseColorFade
- 3.268 Timer_Add
- 3.269 Timer_Add
- 3.270 Timer_ClearAll
- 3.271 Timer_Exists
- 3.272 Timer_Exists
- 3.273 Timer_GetTimeLeft
- 3.274 Timer_GetTimeLeft
- 3.275 Timer_GetValue
- 3.276 Timer_GetValue
- 3.277 Timer_Remove
- 3.278 Timer_Remove
- 3.279 Timer_SetPaused
- 3.280 Timer_SetPaused
- 3.281 Timer_TimeHasPassed
- 3.282 Timer_TimeHasPassed
- 3.283 Update
- 3.284 UpdateEntityAttachment
- 3.285 UpdateHitboxBodyTransforms
- 3.286 VariableUpdate
- 3.287 WakeUp
- 4 References
Fields
cLuxAgent has no public fields.
Functions
Return Type | Function And Description |
---|---|
void | AddCollideCallback(iLuxEntity@ apEntity, const tString &in asCallbackFunc, bool abAddedFromScript = true) |
void | AddConnection(const tString &in asName, iLuxEntity@ apEntity, bool abInvertStateSent, int alStatesUsed) |
void | AppendAnimation(const tString &in asName, bool abLoop) |
void | AttachToEntity(iLuxEntity@ apEntity, iPhysicsBody@ apTargetBody, bool abUseRotation, bool abSnapToParent, bool abLocked = false) |
void | AttachToSocket(iLuxEntity@ apEntity, const tString &in asSocket, bool abUseRotation, bool abSnapToParent, bool abLocked = false) |
void | BroadcastMessage(int alMessageId, iLuxEntityComponent@ apSource, const cVector3f &in avData, int alData) |
cVector3f | CalculateRootMotion() |
bool | CanInteract(int alType, iPhysicsBody@ apBody) |
void | ChangeConnectionState(int alState) |
bool | CheckBodyCollision(iPhysicsBody@ apBody, cLuxMap@ apMap) |
bool | CheckCharacterCollision(iCharacterBody@ apBody, cLuxMap@ apMap) |
bool | CheckEntityCollision(iLuxEntity@ apEntity) |
bool | CheckIsOnScreen(bool abUseRayCast) |
bool | CheckShapeCollision(iCollideShape@ apShape, const cMatrixf &in a_mtxTransform, cLuxMap@ apMap) |
bool | CollidesWithPlayer() |
cParticleSystem | CreateParticleSystem(const tString &in asName, const tString &in asFile, bool abRemoveWhenDone, bool abAttach) |
cParticleSystem | CreateParticleSystemOnBone(const tString &in asName, const tString &in asFile, const tString &in asBoneName, bool abRemoveWhenDone, bool abAttach) |
void | DrawProjDebugText(const tString &in asText, float afFontSize = 16.0f, bool abProjectSize = false, eFontAlign aAlignment = eFontAlign_Left, const cColor &in aColor = cColor, ../ 1, ../ 1, const cVector3f &in avOffset = cVector3f, ../ 0, float afMaxDistance = 20) |
void | FadeEffectBaseColor(const cColor &in aDestColor, float afTime) |
void | FadeMeshScaleMul(const cVector3f &in avDestScale, float afTime, eEasing aEasing = eEasing_Linear) |
void | Fader_ClearAll() |
void | Fader_FadeTo(uint alID, float afGoal, float afTime, bool abReverseAtEnd = false, bool abSkipIfExists = false) |
void | Fader_FadeTo(const tString &in asName, float afGoal, float afTime, bool abReverseAtEnd = false, bool abSkipIfExists = false) |
float | Fader_GetValue(uint alID, float afMin = 0, float afMax = 1, eEasing aEasing = eEasing_Linear, bool abAbsValue = false) |
float | Fader_GetValue(const tString &in asName, float afMin = 0, float afMax = 1, eEasing aEasing = eEasing_Linear, bool abAbsValue = false) |
void | Fader_Set(uint alID, float afX, bool abSkipIfExists = false) |
void | Fader_Set(const tString &in asName, float afX, bool abSkipIfExists = false) |
void | Fader_SetPaused(uint alID, bool abPaused) |
void | Fader_SetPaused(const tString &in asName, bool abPaused) |
float | GetAlignEntityWithGroundMaxRayDistance() |
bool | GetAlignEntityWithGroundRay() |
float | GetAlignEntityWithGroundRelativeRayStart() |
float | GetAngleToPlayer2D() |
float | GetAngleToPlayer3D() |
float | GetAngleToPos2D(const cVector3f &in avPos) |
float | GetAngleToPos3D(const cVector3f &in avPos) |
bool | GetAnimationIsPlaying() |
iEntity3D | GetAttachEntity() |
bool | GetAutoSleep() |
cMatrixf | GetBaseEntityOffset() |
cMaterial | GetBaseMaterial() |
cMatrixf | GetBaseMatrix() |
cVector3f | GetBasePosition() |
cBillboard | GetBillboardFromName(const tString &in asName) |
iPhysicsBody | GetBody(int alIdx) |
iPhysicsBody | GetBodyFromID(int alID) |
iPhysicsBody | GetBodyFromName(const tString &in asName) |
int | GetBodyIndexFromName(const tString &in asName) |
int | GetBodyNum() |
iCharacterBody | GetCharBody() |
bool | GetCheckForDoors() |
tString | GetClassName() |
void | GetClosestBody(const tString &in asCallbackFunc, const cVector3f &in avStart, const cVector3f &in avDir, float afRayLength, int alUserValue = 0) |
void | GetClosestCharCollideBody(const tString &in asCallbackFunc, const cVector3f &in avStart, const cVector3f &in avDir, float afRayLength, int alUserValue = 0) |
void | GetClosestCharCollider(const tString &in asCallbackFunc, const cVector3f &in avStart, const cVector3f &in avDir, float afRayLength, bool abCheckDynamic) |
void | GetClosestEntity(const tString &in asCallbackFunc, const cVector3f &in avStart, const cVector3f &in avDir, float afRayLength, int alInteractType, bool abCheckLineOfSight) |
iLuxEntityComponent | GetComponentByType(eLuxEntityComponentType aType) |
int | GetCurrentAnimationIndex() |
cAnimationState | GetCurrentAnimationState() |
float | GetCurrentPlayerSightDistance() |
cVector3f | GetDebugEyeRay(int alIdx) |
int | GetDebugEyeRaysNum() |
float | GetDistanceToGround(float afMaxTestDistance, bool abCheckDynamic, int alNumOfRays = 1, float afRadius = 0.25, bool abGetShortest = true) |
void | GetDistanceToGround(const tString &in asCallbackFunc, float afMaxTestDistance, bool abCheckDynamic, int alNumOfRays = 1, float afRadius = 0.25, bool abGetClosest = true) |
float | GetDistanceToPlayer() |
float | GetDistanceToPlayer2D() |
float | GetDistanceToPos(const cVector3f &in avPos) |
float | GetDistanceToPos2D(const cVector3f &in avPos) |
float | GetDistFromLastKnownToActualPlayerPos() |
cColor | GetEffectBaseColor() |
bool | GetEffectsActive() |
float | GetEffectsAlpha() |
tString | GetEffectsOffSound() |
float | GetEffectsOffTime() |
tString | GetEffectsOnSound() |
float | GetEffectsOnTime() |
bool | GetEntityIsInPlayerFOV() |
bool | GetEntityIsInPlayerLineOfSight(bool abCheckFOV) |
void | GetEntityIsInPlayerLineOfSight(const tString &in asCallbackFunc, bool abCheckFOV) |
eLuxEntityType | GetEntityType() |
tString | GetEventInstanceTag() |
tString | GetEventTag() |
cVector3f | GetEyePostion() |
tString | GetFileName() |
bool | GetForceLookAtCheck() |
float | GetFOV() |
float | GetFOVMul() |
cVector3f | GetGroundAlignPosition() |
iPhysicsBody | GetHitboxBody(int alIdx) |
int | GetHitboxBodyNum() |
tID | GetID() |
bool | GetIgnoreDynamicAvoidance() |
int | GetInteractIconId(int alType, iPhysicsBody@ apBody) |
bool | GetInteractionDisabled() |
bool | GetIsClosedDoor() |
bool | GetIsDoor() |
bool | GetLastCreatedSoundIsPlaying() |
cVector3f | GetLastKnownPlayerPos() |
cLensFlare | GetLensFlareFromName(const tString &in asName) |
iLight | GetLightFromName(const tString &in asName) |
void | GetLightLevelAtPos(const tString &in asCallbackFunc, const cVector3f &in avPos, iLight@ apSkipLight, float afRadiusAdd) |
iPhysicsBody | GetMainBody() |
cLuxMap | GetMap() |
cMatrixf | GetMatrix() |
float | GetMaxCheckDoorDistance() |
float | GetMaxInteractDistance() |
cMeshEntity | GetMeshEntity() |
cVector3f | GetMeshScaleMul() |
tString | GetName() |
cMatrixf | GetOnLoadOffsetTransform() |
cVector3f | GetOnLoadScale() |
cMatrixf | GetOnLoadTransform() |
tID | GetParentId() |
tString | GetParentName() |
int | GetParentType() |
cParticleSystem | GetParticleSystemFromName(const tString &in asName) |
float | GetPlayerDetectedCount() |
cVector3f | GetPlayerDir() |
cVector3f | GetPlayerFeetPos() |
cVector3f | GetPlayerHeadPos() |
bool | GetPlayerIsInFOV(float afFOV, const cVector3f &in avForward) |
bool | GetPlayerIsInFOV(float afHFOV, float afVFOV, const cVector3f &in avForward) |
bool | GetPlayerIsInLineOfSight(float afFOV, const cVector3f &in avForward, bool abCheckFOV) |
bool | GetPlayerIsInLineOfSight() |
void | GetPlayerIsInLineOfSight(const tString &in asCallbackFunc, float afFOV, const cVector3f &in avForward, bool abCheckFOV) |
void | GetPlayerIsInLineOfSight(const tString &in asCallbackFunc) |
float | GetPlayerMovementTowardEntity() |
cVector3f | GetPlayerPos() |
bool | GetPointIsInFOV(const cVector3f &in avPoint, float afFOV, const cVector3f &in avForward) |
bool | GetPointIsInFOV(const cVector3f &in avPoint, float afHFOV, float afVFOV, const cVector3f &in avForward) |
bool | GetPointIsInFront(const cVector3f &in avPoint) |
bool | GetPointIsInLineOfSight(const cVector3f &in avPoint) |
cVector3f | GetPosition() |
bool | GetRagdollActive() |
iPhysicsBody | GetRagdollBodyFromHitboxName(const tString &in asName) |
iPhysicsBody | GetRagdollBodyFromName(const tString &in asName) |
float | GetRelativeEyeHeight() |
bool | GetReturnBool() |
float | GetReturnFloat() |
int | GetReturnInt() |
tString | GetReturnString() |
bool | GetSaveDataIsUpdated() |
bool | GetScriptableIsSaved() |
bool | GetSensesActive() |
float | GetSightRange() |
bool | GetSightRangeAffectedByModifiers() |
float | GetSightRangeMul() |
cSoundEntity | GetSoundEntityFromName(const tString &in asName) |
bool | GetStaticCollider() |
bool | GetVarBool(const tString &in asName) |
cColor | GetVarColor(const tString &in asName) |
float | GetVarFloat(const tString &in asName) |
float | GetVariableUpdateRate() |
int | GetVarInt(const tString &in asName) |
tString | GetVarString(const tString &in asName) |
cVector2f | GetVarVector2f(const tString &in asName) |
cVector3f | GetVarVector3f(const tString &in asName) |
cNode3D | GetVoiceAttachNode() |
bool | GiveDamage(iPhysicsBody@ apBody, const cVector3f &in avOrigin, const cVector3f &in avHitPos, cLuxDamageProperties@ apDamageProps) |
bool | HasCollideCallbacks() |
bool | HasPlayerInteractCallback() |
bool | HasPlayerInteractLeaveCallback() |
bool | HasPlayerLookAtCallback() |
void | IncVarFloat(const tString &in asName, float afX) |
void | IncVarInt(const tString &in asName, int alX) |
void | IncVarVector2f(const tString &in asName, const cVector2f &in avX) |
void | IncVarVector3f(const tString &in asName, const cVector3f &in avX) |
bool | IsActive() |
bool | IsEffectsFading() |
bool | IsInteractedWith() |
bool | IsLookedAtByPlayer() |
bool | IsOccluder() |
bool | IsSleeping() |
bool | OnInteract(int alType, iPhysicsBody@ apBody, const cVector3f &in avFocusPos, const tString &in asData) |
int | PlayAnimation(const tString &in asName, float afFadeTime = 0.3f, bool abLoop = false, bool abPlayTransition = true, const tString &in asCallback = "", bool abGlobalSpace = false, bool abApplyBoneRootMotion = false) |
bool | PlayerIsDetected() |
bool | PlayerIsSeen() |
cSoundEntity | PlaySound(const tString &in asName, const tString &in asFile, bool abRemoveWhenDone, bool abAttach, float afCustomMinDist = -1, float afCustomMaxDist = -1) |
void | PostUpdate(float afTimeStep) |
void | PreloadEntityModel(const tString &in asFile) |
void | RemoveAllConnections() |
void | RemoveCollideCallback(const tString &in asEntityName) |
void | RemoveConnection(const tString &in asName) |
void | RemoveEntityAttachment() |
void | ResetPlayerDetectionState() |
void | RevealPlayerPos() |
void | RunPlayerInteractLeaveCallback() |
bool | ScriptExecute() |
bool | ScriptMethodExists(const tString &in asMethod) |
bool | ScriptMethodExistsFast(const tString &in asMethod, int alId) |
bool | ScriptPrepare(const tString &in asMethod) |
bool | ScriptPrepareFast(const tString &in asMethod, int alId) |
void | SetActive(bool abX) |
void | SetAlignEntityWithGroundMaxRayDistance(float afX) |
void | SetAlignEntityWithGroundRay(bool abX) |
void | SetAlignEntityWithGroundRelativeRayStart(float afX) |
void | SetAnimationCallbackActive(bool abX) |
void | SetAnimationMessageEventCallback(const tString &in asFunc, bool abAutoRemove) |
void | SetArgBool(int alArgNum, bool abVal) |
void | SetArgFloat(int alArg, float afX) |
void | SetArgInt(int alArg, int alX) |
void | SetArgString(int alArg, const tString &in asStr) |
void | SetAutoDisableCallback(const tString &in asFunc) |
void | SetAutoDisableWhenOutOfSightActive(bool abX, float afMinDistance) |
void | SetAutoSleep(bool abX) |
void | SetCheckForDoors(bool abX) |
void | SetCheckForDoorsCount(float afX) |
void | SetConnectionStateChangeCallback(const tString &in asCallbackFunc) |
void | SetCurrentAnimationPaused(bool abX) |
void | SetCustomEffectsOffAlpha(float afAlpha) |
void | SetEffectBaseColor(const cColor &in aColor) |
void | SetEffectsActive(bool abActive, bool abFadeAndPlaySounds) |
void | SetEffectsOffTime(float afTime) |
void | SetEffectsOnTime(float afTime) |
void | SetEventInstanceTag(const tString &in asTag) |
void | SetForceLookAtCheck(bool abX) |
void | SetFOV(float afX) |
void | SetFOVMul(float afX) |
void | SetFullGameSave(bool abX) |
void | SetIgnoreDynamicAvoidance(bool abX) |
void | SetIlluminationBaseColor(const cColor &in aColor) |
void | SetInteractionDisabled(bool abX) |
void | SetIsClosedDoor(bool abX) |
void | SetIsDoor(bool abX) |
void | SetIsInteractedWith(bool abX) |
void | SetIsOccluder(bool abX) |
void | SetLookAtCheckCenterOfScreen(bool abX) |
void | SetLookAtCheckRayIntersection(bool abX) |
void | SetLookAtMaxDistance(float afX) |
void | SetMatrix(const cMatrixf &in a_mtxTransform) |
void | SetMaxCheckDoorDistance(float afX) |
void | SetMaxInteractDistance(float afX) |
void | SetMeshScaleMul(const cVector3f &in avScale) |
void | SetNormalizeAnimationWeights(bool abX) |
void | SetPlayerDetectedMinTime(float afX) |
void | SetPlayerInteractCallback(const tString &in asCallbackFunc, bool abRemoveWhenInteracted) |
void | SetPlayerInteractLeaveCallback(const tString &in asCallbackFunc, bool abRemoveWhenInteracted) |
void | SetPlayerLookAtCallback(const tString &in asCallbackFunc, bool abRemoveWhenLookedAt, bool abCheckCenterOfScreen, bool abCheckRayIntersection, float afMaxDistance, float afCallbackDelay) |
void | SetPosition(const cVector3f &in avPos) |
void | SetRagdollActive(bool abX) |
void | SetRecieveMessageCallback(const tString &in asCallbackFunc) |
void | SetRelativeEyeHeight(float afX) |
void | SetSaveDataIsUpdated(bool abX) |
void | SetScriptableIsSaved(bool abX) |
void | SetSensesActive(bool abX) |
void | SetSightRange(float afX) |
void | SetSightRangeAffectedByModifiers(bool abX) |
void | SetSightRangeMul(float afX) |
void | SetSoundVolume(float afX) |
void | SetStaticCollider(bool abX) |
void | SetUpdatePlayerDetection(bool abX) |
bool | SetUpdatePlayerDetection() |
void | SetupParent(int alTypeId, tID alId, const tString &in asName) |
void | SetupRootBoneMotion(const tString &in asAnimName, bool abApplyMotionToEntity, bool abApplyMotionToBone) |
void | SetVarBool(const tString &in asName, bool abX) |
void | SetVarColor(const tString &in asName, const cColor &in aX) |
void | SetVarFloat(const tString &in asName, float afX) |
void | SetVariableUpdateRate(float afX) |
void | SetVarInt(const tString &in asName, int alX) |
void | SetVarString(const tString &in asName, const tString &in asX) |
void | SetVarVector2f(const tString &in asName, const cVector2f &in avX) |
void | SetVarVector3f(const tString &in asName, const cVector3f &in avX) |
void | Sleep() |
void | StopAllAnimations(float afFadeTime) |
void | StopAnimation(const tString &in asName, float afFadeTime) |
void | StopAnimation(int alIdx, float afFadeTime) |
void | StopEffectBaseColorFade() |
void | Timer_Add(uint64 alID, float afTime, const tString &in asFunc = "", bool abCreateIfExist = true, bool abRepeat = false) |
void | Timer_Add(const tString &in asID, float afTime, const tString &in asFunc = "", bool abCreateIfExist = true, bool abRepeat = false) |
void | Timer_ClearAll() |
bool | Timer_Exists(uint64 alID) |
bool | Timer_Exists(const tString &in asID) |
float | Timer_GetTimeLeft(uint64 alID) |
float | Timer_GetTimeLeft(const tString &in asID) |
float | Timer_GetValue(uint64 alID, float afMin = 0, float afMax = 1, eEasing aEasing = eEasing_Linear, bool abAbsValue = false) |
float | Timer_GetValue(const tString &in asID, float afMin = 0, float afMax = 1, eEasing aEasing = eEasing_Linear, bool abAbsValue = false) |
void | Timer_Remove(uint64 alID) |
void | Timer_Remove(const tString &in asID) |
void | Timer_SetPaused(uint64 alID, bool abX) |
void | Timer_SetPaused(const tString &in asID, bool abX) |
bool | Timer_TimeHasPassed(uint64 alID, float afLength) |
bool | Timer_TimeHasPassed(const tString &in asID, float afLength) |
void | Update(float afTimeStep) |
void | UpdateEntityAttachment() |
void | UpdateHitboxBodyTransforms() |
void | VariableUpdate(float afDeltaTime) |
void | WakeUp() |
Details
AddCollideCallback
void AddCollideCallback(iLuxEntity@ apEntity,
const tString &in asCallbackFunc,
bool abAddedFromScript = true)
Parameters
- apEntity (iLuxEntity@) —
- asCallbackFunc (tString) —
- abAddedFromScript (bool) —
Returns:
- void
AddConnection
void AddConnection(const tString &in asName,
iLuxEntity@ apEntity,
bool abInvertStateSent,
int alStatesUsed)
Parameters
- asName (tString) —
- apEntity (iLuxEntity@) —
- abInvertStateSent (bool) —
- alStatesUsed (int) —
Returns:
- void
AppendAnimation
void AppendAnimation(const tString &in asName,
bool abLoop)
Parameters
- asName (tString) —
- abLoop (bool) —
Returns:
- void
AttachToEntity
void AttachToEntity(iLuxEntity@ apEntity,
iPhysicsBody@ apTargetBody,
bool abUseRotation,
bool abSnapToParent,
bool abLocked = false)
Parameters
- apEntity (iLuxEntity@) —
- apTargetBody (iPhysicsBody@) —
- abUseRotation (bool) —
- abSnapToParent (bool) —
- abLocked (bool) —
Returns:
- void
AttachToSocket
void AttachToSocket(iLuxEntity@ apEntity,
const tString &in asSocket,
bool abUseRotation,
bool abSnapToParent,
bool abLocked = false)
Parameters
- apEntity (iLuxEntity@) —
- asSocket (tString) —
- abUseRotation (bool) —
- abSnapToParent (bool) —
- abLocked (bool) —
Returns:
- void
BroadcastMessage
void BroadcastMessage(int alMessageId,
iLuxEntityComponent@ apSource,
const cVector3f &in avData,
int alData)
Parameters
- alMessageId (int) —
- apSource (iLuxEntityComponent@) —
- avData (cVector3f) —
- alData (int) —
Returns:
- void
CalculateRootMotion
cVector3f CalculateRootMotion()
Returns:
- cVector3f—
CanInteract
bool CanInteract(int alType,
iPhysicsBody@ apBody)
Parameters
- alType (int) —
- apBody (iPhysicsBody@) —
Returns:
- bool—
ChangeConnectionState
void ChangeConnectionState(int alState)
Parameters
- alState (int) —
Returns:
- void
CheckBodyCollision
bool CheckBodyCollision(iPhysicsBody@ apBody,
cLuxMap@ apMap)
Parameters
- apBody (iPhysicsBody@) —
- apMap (cLuxMap@) —
Returns:
- bool—
CheckCharacterCollision
bool CheckCharacterCollision(iCharacterBody@ apBody,
cLuxMap@ apMap)
Parameters
- apBody (iCharacterBody@) —
- apMap (cLuxMap@) —
Returns:
- bool—
CheckEntityCollision
CheckIsOnScreen
bool CheckIsOnScreen(bool abUseRayCast)
Parameters
- abUseRayCast (bool) —
Returns:
- bool—
CheckShapeCollision
bool CheckShapeCollision(iCollideShape@ apShape,
const cMatrixf &in a_mtxTransform,
cLuxMap@ apMap)
Parameters
- apShape (iCollideShape@) —
- a_mtxTransform (cMatrixf) —
- apMap (cLuxMap@) —
Returns:
- bool—
CollidesWithPlayer
bool CollidesWithPlayer()
Returns:
- bool—
CreateParticleSystem
CreateParticleSystemOnBone
cParticleSystem@ CreateParticleSystemOnBone(const tString &in asName,
const tString &in asFile,
const tString &in asBoneName,
bool abRemoveWhenDone,
bool abAttach)
Parameters
- asName (tString) —
- asFile (tString) —
- asBoneName (tString) —
- abRemoveWhenDone (bool) —
- abAttach (bool) —
Returns:
- cParticleSystem@—
DrawProjDebugText
void DrawProjDebugText(const tString &in asText,
float afFontSize = 16.0f,
bool abProjectSize = false,
eFontAlign aAlignment = eFontAlign_Left,
const cColor &in aColor = cColor,
1,
1,
const cVector3f &in avOffset = cVector3f,
0,
float afMaxDistance = 20)
Parameters
- asText (tString) —
- afFontSize (float) —
- abProjectSize (bool) —
- aAlignment (eFontAlign) —
- aColor (cColor) —
- 1 (../) —
- 1 (../) —
- avOffset (cVector3f) —
- 0 (../) —
- afMaxDistance (float) —
Returns:
- void
FadeEffectBaseColor
void FadeEffectBaseColor(const cColor &in aDestColor,
float afTime)
Parameters
- aDestColor (cColor) —
- afTime (float) —
Returns:
- void
FadeMeshScaleMul
Fader_ClearAll
void Fader_ClearAll()
Returns:
- void
Fader_FadeTo
void Fader_FadeTo(uint alID,
float afGoal,
float afTime,
bool abReverseAtEnd = false,
bool abSkipIfExists = false)
Parameters
- alID (uint) —
- afGoal (float) —
- afTime (float) —
- abReverseAtEnd (bool) —
- abSkipIfExists (bool) —
Returns:
- void
Fader_FadeTo
void Fader_FadeTo(const tString &in asName,
float afGoal,
float afTime,
bool abReverseAtEnd = false,
bool abSkipIfExists = false)
Parameters
- asName (tString) —
- afGoal (float) —
- afTime (float) —
- abReverseAtEnd (bool) —
- abSkipIfExists (bool) —
Returns:
- void
Fader_GetValue
float Fader_GetValue(uint alID,
float afMin = 0,
float afMax = 1,
eEasing aEasing = eEasing_Linear,
bool abAbsValue = false)
Parameters
- alID (uint) —
- afMin (float) —
- afMax (float) —
- aEasing (eEasing) —
- abAbsValue (bool) —
Returns:
- float—
Fader_GetValue
Fader_Set
void Fader_Set(uint alID,
float afX,
bool abSkipIfExists = false)
Parameters
- alID (uint) —
- afX (float) —
- abSkipIfExists (bool) —
Returns:
- void
Fader_Set
void Fader_Set(const tString &in asName,
float afX,
bool abSkipIfExists = false)
Parameters
- asName (tString) —
- afX (float) —
- abSkipIfExists (bool) —
Returns:
- void
Fader_SetPaused
void Fader_SetPaused(uint alID,
bool abPaused)
Parameters
- alID (uint) —
- abPaused (bool) —
Returns:
- void
Fader_SetPaused
void Fader_SetPaused(const tString &in asName,
bool abPaused)
Parameters
- asName (tString) —
- abPaused (bool) —
Returns:
- void
GetAlignEntityWithGroundMaxRayDistance
float GetAlignEntityWithGroundMaxRayDistance()
Returns:
- float—
GetAlignEntityWithGroundRay
bool GetAlignEntityWithGroundRay()
Returns:
- bool—
GetAlignEntityWithGroundRelativeRayStart
float GetAlignEntityWithGroundRelativeRayStart()
Returns:
- float—
GetAngleToPlayer2D
float GetAngleToPlayer2D()
Returns:
- float—
GetAngleToPlayer3D
float GetAngleToPlayer3D()
Returns:
- float—
GetAngleToPos2D
GetAngleToPos3D
GetAnimationIsPlaying
bool GetAnimationIsPlaying()
Returns:
- bool—
GetAttachEntity
iEntity3D@ GetAttachEntity()
Returns:
- iEntity3D@—
GetAutoSleep
bool GetAutoSleep()
Returns:
- bool—
GetBaseEntityOffset
cMatrixf GetBaseEntityOffset()
Returns:
- cMatrixf—
GetBaseMaterial
cMaterial@ GetBaseMaterial()
Returns:
- cMaterial@—
GetBaseMatrix
cMatrixf GetBaseMatrix()
Returns:
- cMatrixf—
GetBasePosition
cVector3f GetBasePosition()
Returns:
- cVector3f—
GetBillboardFromName
cBillboard@ GetBillboardFromName(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cBillboard@—
GetBody
iPhysicsBody@ GetBody(int alIdx)
Parameters
- alIdx (int) —
Returns:
- iPhysicsBody@—
GetBodyFromID
iPhysicsBody@ GetBodyFromID(int alID)
Parameters
- alID (int) —
Returns:
- iPhysicsBody@—
GetBodyFromName
iPhysicsBody@ GetBodyFromName(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- iPhysicsBody@—
GetBodyIndexFromName
GetBodyNum
int GetBodyNum()
Returns:
- int—
GetCharBody
iCharacterBody@ GetCharBody()
Returns:
- iCharacterBody@—
GetCheckForDoors
bool GetCheckForDoors()
Returns:
- bool—
GetClassName
const tString& GetClassName()
Returns:
- const tString&—
GetClosestBody
GetClosestCharCollideBody
GetClosestCharCollider
GetClosestEntity
void GetClosestEntity(const tString &in asCallbackFunc,
const cVector3f &in avStart,
const cVector3f &in avDir,
float afRayLength,
int alInteractType,
bool abCheckLineOfSight)
Parameters
- asCallbackFunc (tString) —
- avStart (cVector3f) —
- avDir (cVector3f) —
- afRayLength (float) —
- alInteractType (int) —
- abCheckLineOfSight (bool) —
Returns:
- void
GetComponentByType
iLuxEntityComponent@ GetComponentByType(eLuxEntityComponentType aType)
Parameters
- aType (eLuxEntityComponentType) —
Returns:
- iLuxEntityComponent@—
GetCurrentAnimationIndex
int GetCurrentAnimationIndex()
Returns:
- int—
GetCurrentAnimationState
cAnimationState@ GetCurrentAnimationState()
Returns:
- cAnimationState@—
GetCurrentPlayerSightDistance
float GetCurrentPlayerSightDistance()
Returns:
- float—
GetDebugEyeRay
const cVector3f& GetDebugEyeRay(int alIdx)
Parameters
- alIdx (int) —
Returns:
- const cVector3f&—
GetDebugEyeRaysNum
int GetDebugEyeRaysNum()
Returns:
- int—
GetDistanceToGround
float GetDistanceToGround(float afMaxTestDistance,
bool abCheckDynamic,
int alNumOfRays = 1,
float afRadius = 0.25,
bool abGetShortest = true)
Parameters
- afMaxTestDistance (float) —
- abCheckDynamic (bool) —
- alNumOfRays (int) —
- afRadius (float) —
- abGetShortest (bool) —
Returns:
- float—
GetDistanceToGround
void GetDistanceToGround(const tString &in asCallbackFunc,
float afMaxTestDistance,
bool abCheckDynamic,
int alNumOfRays = 1,
float afRadius = 0.25,
bool abGetClosest = true)
Parameters
- asCallbackFunc (tString) —
- afMaxTestDistance (float) —
- abCheckDynamic (bool) —
- alNumOfRays (int) —
- afRadius (float) —
- abGetClosest (bool) —
Returns:
- void
GetDistanceToPlayer
float GetDistanceToPlayer()
Returns:
- float—
GetDistanceToPlayer2D
float GetDistanceToPlayer2D()
Returns:
- float—
GetDistanceToPos
GetDistanceToPos2D
GetDistFromLastKnownToActualPlayerPos
float GetDistFromLastKnownToActualPlayerPos()
Returns:
- float—
GetEffectBaseColor
const cColor& GetEffectBaseColor()
Returns:
- const cColor&—
GetEffectsActive
bool GetEffectsActive()
Returns:
- bool—
GetEffectsAlpha
float GetEffectsAlpha()
Returns:
- float—
GetEffectsOffSound
const tString& GetEffectsOffSound()
Returns:
- const tString&—
GetEffectsOffTime
float GetEffectsOffTime()
Returns:
- float—
GetEffectsOnSound
const tString& GetEffectsOnSound()
Returns:
- const tString&—
GetEffectsOnTime
float GetEffectsOnTime()
Returns:
- float—
GetEntityIsInPlayerFOV
bool GetEntityIsInPlayerFOV()
Returns:
- bool—
GetEntityIsInPlayerLineOfSight
bool GetEntityIsInPlayerLineOfSight(bool abCheckFOV)
Parameters
- abCheckFOV (bool) —
Returns:
- bool—
GetEntityIsInPlayerLineOfSight
void GetEntityIsInPlayerLineOfSight(const tString &in asCallbackFunc,
bool abCheckFOV)
Parameters
- asCallbackFunc (tString) —
- abCheckFOV (bool) —
Returns:
- void
GetEntityType
eLuxEntityType GetEntityType()
Returns:
- eLuxEntityType—
GetEventInstanceTag
const tString& GetEventInstanceTag()
Returns:
- const tString&—
GetEventTag
const tString& GetEventTag()
Returns:
- const tString&—
GetEyePostion
cVector3f GetEyePostion()
Returns:
- cVector3f—
GetFileName
const tString& GetFileName()
Returns:
- const tString&—
GetForceLookAtCheck
bool GetForceLookAtCheck()
Returns:
- bool—
GetFOV
float GetFOV()
Returns:
- float—
GetFOVMul
float GetFOVMul()
Returns:
- float—
GetGroundAlignPosition
const cVector3f& GetGroundAlignPosition()
Returns:
- const cVector3f&—
GetHitboxBody
iPhysicsBody@ GetHitboxBody(int alIdx)
Parameters
- alIdx (int) —
Returns:
- iPhysicsBody@—
GetHitboxBodyNum
int GetHitboxBodyNum()
Returns:
- int—
GetID
const tID& GetID()
Returns:
- const tID&—
GetIgnoreDynamicAvoidance
bool GetIgnoreDynamicAvoidance()
Returns:
- bool—
GetInteractIconId
int GetInteractIconId(int alType,
iPhysicsBody@ apBody)
Parameters
- alType (int) —
- apBody (iPhysicsBody@) —
Returns:
- int—
GetInteractionDisabled
bool GetInteractionDisabled()
Returns:
- bool—
GetIsClosedDoor
bool GetIsClosedDoor()
Returns:
- bool—
GetIsDoor
bool GetIsDoor()
Returns:
- bool—
GetLastCreatedSoundIsPlaying
bool GetLastCreatedSoundIsPlaying()
Returns:
- bool—
GetLastKnownPlayerPos
const cVector3f& GetLastKnownPlayerPos()
Returns:
- const cVector3f&—
GetLensFlareFromName
cLensFlare@ GetLensFlareFromName(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cLensFlare@—
GetLightFromName
GetLightLevelAtPos
GetMainBody
iPhysicsBody@ GetMainBody()
Returns:
- iPhysicsBody@—
GetMap
cLuxMap@ GetMap()
Returns:
- cLuxMap@—
GetMatrix
cMatrixf GetMatrix()
Returns:
- cMatrixf—
GetMaxCheckDoorDistance
float GetMaxCheckDoorDistance()
Returns:
- float—
GetMaxInteractDistance
float GetMaxInteractDistance()
Returns:
- float—
GetMeshEntity
cMeshEntity@ GetMeshEntity()
Returns:
- cMeshEntity@—
GetMeshScaleMul
cVector3f GetMeshScaleMul()
Returns:
- cVector3f—
GetName
const tString& GetName()
Returns:
- const tString&—
GetOnLoadOffsetTransform
const cMatrixf& GetOnLoadOffsetTransform()
Returns:
- const cMatrixf&—
GetOnLoadScale
const cVector3f& GetOnLoadScale()
Returns:
- const cVector3f&—
GetOnLoadTransform
const cMatrixf& GetOnLoadTransform()
Returns:
- const cMatrixf&—
GetParentId
tID GetParentId()
Returns:
- tID—
GetParentName
const tString& GetParentName()
Returns:
- const tString&—
GetParentType
int GetParentType()
Returns:
- int—
GetParticleSystemFromName
cParticleSystem@ GetParticleSystemFromName(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cParticleSystem@—
GetPlayerDetectedCount
float GetPlayerDetectedCount()
Returns:
- float—
GetPlayerDir
cVector3f GetPlayerDir()
Returns:
- cVector3f—
GetPlayerFeetPos
cVector3f GetPlayerFeetPos()
Returns:
- cVector3f—
GetPlayerHeadPos
cVector3f GetPlayerHeadPos()
Returns:
- cVector3f—
GetPlayerIsInFOV
bool GetPlayerIsInFOV(float afFOV,
const cVector3f &in avForward)
Parameters
- afFOV (float) —
- avForward (cVector3f) —
Returns:
- bool—
GetPlayerIsInFOV
bool GetPlayerIsInFOV(float afHFOV,
float afVFOV,
const cVector3f &in avForward)
Parameters
- afHFOV (float) —
- afVFOV (float) —
- avForward (cVector3f) —
Returns:
- bool—
GetPlayerIsInLineOfSight
bool GetPlayerIsInLineOfSight(float afFOV,
const cVector3f &in avForward,
bool abCheckFOV)
Parameters
- afFOV (float) —
- avForward (cVector3f) —
- abCheckFOV (bool) —
Returns:
- bool—
GetPlayerIsInLineOfSight
bool GetPlayerIsInLineOfSight()
Returns:
- bool—
GetPlayerIsInLineOfSight
GetPlayerIsInLineOfSight
void GetPlayerIsInLineOfSight(const tString &in asCallbackFunc)
Parameters
- asCallbackFunc (tString) —
Returns:
- void
GetPlayerMovementTowardEntity
float GetPlayerMovementTowardEntity()
Returns:
- float—
GetPlayerPos
const cVector3f& GetPlayerPos()
Returns:
- const cVector3f&—
GetPointIsInFOV
GetPointIsInFOV
GetPointIsInFront
GetPointIsInLineOfSight
bool GetPointIsInLineOfSight(const cVector3f &in avPoint)
Parameters
- avPoint (cVector3f) —
Returns:
- bool—
GetPosition
cVector3f GetPosition()
Returns:
- cVector3f—
GetRagdollActive
bool GetRagdollActive()
Returns:
- bool—
GetRagdollBodyFromHitboxName
iPhysicsBody@ GetRagdollBodyFromHitboxName(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- iPhysicsBody@—
GetRagdollBodyFromName
iPhysicsBody@ GetRagdollBodyFromName(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- iPhysicsBody@—
GetRelativeEyeHeight
float GetRelativeEyeHeight()
Returns:
- float—
GetReturnBool
bool GetReturnBool()
Returns:
- bool—
GetReturnFloat
float GetReturnFloat()
Returns:
- float—
GetReturnInt
int GetReturnInt()
Returns:
- int—
GetReturnString
tString GetReturnString()
Returns:
- tString—
GetSaveDataIsUpdated
bool GetSaveDataIsUpdated()
Returns:
- bool—
GetScriptableIsSaved
bool GetScriptableIsSaved()
Returns:
- bool—
GetSensesActive
bool GetSensesActive()
Returns:
- bool—
GetSightRange
float GetSightRange()
Returns:
- float—
GetSightRangeAffectedByModifiers
bool GetSightRangeAffectedByModifiers()
Returns:
- bool—
GetSightRangeMul
float GetSightRangeMul()
Returns:
- float—
GetSoundEntityFromName
cSoundEntity@ GetSoundEntityFromName(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cSoundEntity@—
GetStaticCollider
bool GetStaticCollider()
Returns:
- bool—
GetVarBool
GetVarColor
GetVarFloat
GetVariableUpdateRate
float GetVariableUpdateRate()
Returns:
- float—
GetVarInt
GetVarString
const tString& GetVarString(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- const tString&—
GetVarVector2f
cVector2f GetVarVector2f(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cVector2f—
GetVarVector3f
cVector3f GetVarVector3f(const tString &in asName)
Parameters
- asName (tString) —
Returns:
- cVector3f—
GetVoiceAttachNode
cNode3D@ GetVoiceAttachNode()
Returns:
- cNode3D@—
GiveDamage
bool GiveDamage(iPhysicsBody@ apBody,
const cVector3f &in avOrigin,
const cVector3f &in avHitPos,
cLuxDamageProperties@ apDamageProps)
Parameters
- apBody (iPhysicsBody@) —
- avOrigin (cVector3f) —
- avHitPos (cVector3f) —
- apDamageProps (cLuxDamageProperties@) —
Returns:
- bool—
HasCollideCallbacks
bool HasCollideCallbacks()
Returns:
- bool—
HasPlayerInteractCallback
bool HasPlayerInteractCallback()
Returns:
- bool—
HasPlayerInteractLeaveCallback
bool HasPlayerInteractLeaveCallback()
Returns:
- bool—
HasPlayerLookAtCallback
bool HasPlayerLookAtCallback()
Returns:
- bool—
IncVarFloat
void IncVarFloat(const tString &in asName,
float afX)
Parameters
- asName (tString) —
- afX (float) —
Returns:
- void
IncVarInt
void IncVarInt(const tString &in asName,
int alX)
Parameters
- asName (tString) —
- alX (int) —
Returns:
- void
IncVarVector2f
IncVarVector3f
IsActive
bool IsActive()
Returns:
- bool—
IsEffectsFading
bool IsEffectsFading()
Returns:
- bool—
IsInteractedWith
bool IsInteractedWith()
Returns:
- bool—
IsLookedAtByPlayer
bool IsLookedAtByPlayer()
Returns:
- bool—
IsOccluder
bool IsOccluder()
Returns:
- bool—
IsSleeping
bool IsSleeping()
Returns:
- bool—
OnInteract
bool OnInteract(int alType,
iPhysicsBody@ apBody,
const cVector3f &in avFocusPos,
const tString &in asData)
Parameters
- alType (int) —
- apBody (iPhysicsBody@) —
- avFocusPos (cVector3f) —
- asData (tString) —
Returns:
- bool—
PlayAnimation
int PlayAnimation(const tString &in asName,
float afFadeTime = 0.3f,
bool abLoop = false,
bool abPlayTransition = true,
const tString &in asCallback = "",
bool abGlobalSpace = false,
bool abApplyBoneRootMotion = false)
Parameters
- asName (tString) —
- afFadeTime (float) —
- abLoop (bool) —
- abPlayTransition (bool) —
- asCallback (tString) —
- abGlobalSpace (bool) —
- abApplyBoneRootMotion (bool) —
Returns:
- int—
PlayerIsDetected
bool PlayerIsDetected()
Returns:
- bool—
PlayerIsSeen
bool PlayerIsSeen()
Returns:
- bool—
PlaySound
cSoundEntity@ PlaySound(const tString &in asName,
const tString &in asFile,
bool abRemoveWhenDone,
bool abAttach,
float afCustomMinDist = -1,
float afCustomMaxDist = -1)
Parameters
- asName (tString) —
- asFile (tString) —
- abRemoveWhenDone (bool) —
- abAttach (bool) —
- afCustomMinDist (float) —
- afCustomMaxDist (float) —
Returns:
- cSoundEntity@—
PostUpdate
void PostUpdate(float afTimeStep)
Parameters
- afTimeStep (float) —
Returns:
- void
PreloadEntityModel
RemoveAllConnections
void RemoveAllConnections()
Returns:
- void
RemoveCollideCallback
void RemoveCollideCallback(const tString &in asEntityName)
Parameters
- asEntityName (tString) —
Returns:
- void
RemoveConnection
RemoveEntityAttachment
void RemoveEntityAttachment()
Returns:
- void
ResetPlayerDetectionState
void ResetPlayerDetectionState()
Returns:
- void
RevealPlayerPos
void RevealPlayerPos()
Returns:
- void
RunPlayerInteractLeaveCallback
void RunPlayerInteractLeaveCallback()
Returns:
- void
ScriptExecute
bool ScriptExecute()
Returns:
- bool—
ScriptMethodExists
ScriptMethodExistsFast
bool ScriptMethodExistsFast(const tString &in asMethod,
int alId)
Parameters
- asMethod (tString) —
- alId (int) —
Returns:
- bool—
ScriptPrepare
ScriptPrepareFast
bool ScriptPrepareFast(const tString &in asMethod,
int alId)
Parameters
- asMethod (tString) —
- alId (int) —
Returns:
- bool—
SetActive
void SetActive(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetAlignEntityWithGroundMaxRayDistance
void SetAlignEntityWithGroundMaxRayDistance(float afX)
Parameters
- afX (float) —
Returns:
- void
SetAlignEntityWithGroundRay
void SetAlignEntityWithGroundRay(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetAlignEntityWithGroundRelativeRayStart
void SetAlignEntityWithGroundRelativeRayStart(float afX)
Parameters
- afX (float) —
Returns:
- void
SetAnimationCallbackActive
void SetAnimationCallbackActive(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetAnimationMessageEventCallback
void SetAnimationMessageEventCallback(const tString &in asFunc,
bool abAutoRemove)
Parameters
- asFunc (tString) —
- abAutoRemove (bool) —
Returns:
- void
SetArgBool
void SetArgBool(int alArgNum,
bool abVal)
Parameters
- alArgNum (int) —
- abVal (bool) —
Returns:
- void
SetArgFloat
void SetArgFloat(int alArg,
float afX)
Parameters
- alArg (int) —
- afX (float) —
Returns:
- void
SetArgInt
void SetArgInt(int alArg,
int alX)
Parameters
- alArg (int) —
- alX (int) —
Returns:
- void
SetArgString
void SetArgString(int alArg,
const tString &in asStr)
Parameters
- alArg (int) —
- asStr (tString) —
Returns:
- void
SetAutoDisableCallback
SetAutoDisableWhenOutOfSightActive
void SetAutoDisableWhenOutOfSightActive(bool abX,
float afMinDistance)
Parameters
- abX (bool) —
- afMinDistance (float) —
Returns:
- void
SetAutoSleep
void SetAutoSleep(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetCheckForDoors
void SetCheckForDoors(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetCheckForDoorsCount
void SetCheckForDoorsCount(float afX)
Parameters
- afX (float) —
Returns:
- void
SetConnectionStateChangeCallback
void SetConnectionStateChangeCallback(const tString &in asCallbackFunc)
Parameters
- asCallbackFunc (tString) —
Returns:
- void
SetCurrentAnimationPaused
void SetCurrentAnimationPaused(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetCustomEffectsOffAlpha
void SetCustomEffectsOffAlpha(float afAlpha)
Parameters
- afAlpha (float) —
Returns:
- void
SetEffectBaseColor
SetEffectsActive
void SetEffectsActive(bool abActive,
bool abFadeAndPlaySounds)
Parameters
- abActive (bool) —
- abFadeAndPlaySounds (bool) —
Returns:
- void
SetEffectsOffTime
void SetEffectsOffTime(float afTime)
Parameters
- afTime (float) —
Returns:
- void
SetEffectsOnTime
void SetEffectsOnTime(float afTime)
Parameters
- afTime (float) —
Returns:
- void
SetEventInstanceTag
SetForceLookAtCheck
void SetForceLookAtCheck(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetFOV
void SetFOV(float afX)
Parameters
- afX (float) —
Returns:
- void
SetFOVMul
void SetFOVMul(float afX)
Parameters
- afX (float) —
Returns:
- void
SetFullGameSave
void SetFullGameSave(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetIgnoreDynamicAvoidance
void SetIgnoreDynamicAvoidance(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetIlluminationBaseColor
SetInteractionDisabled
void SetInteractionDisabled(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetIsClosedDoor
void SetIsClosedDoor(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetIsDoor
void SetIsDoor(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetIsInteractedWith
void SetIsInteractedWith(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetIsOccluder
void SetIsOccluder(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetLookAtCheckCenterOfScreen
void SetLookAtCheckCenterOfScreen(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetLookAtCheckRayIntersection
void SetLookAtCheckRayIntersection(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetLookAtMaxDistance
void SetLookAtMaxDistance(float afX)
Parameters
- afX (float) —
Returns:
- void
SetMatrix
void SetMatrix(const cMatrixf &in a_mtxTransform)
Parameters
- a_mtxTransform (cMatrixf) —
Returns:
- void
SetMaxCheckDoorDistance
void SetMaxCheckDoorDistance(float afX)
Parameters
- afX (float) —
Returns:
- void
SetMaxInteractDistance
void SetMaxInteractDistance(float afX)
Parameters
- afX (float) —
Returns:
- void
SetMeshScaleMul
SetNormalizeAnimationWeights
void SetNormalizeAnimationWeights(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetPlayerDetectedMinTime
void SetPlayerDetectedMinTime(float afX)
Parameters
- afX (float) —
Returns:
- void
SetPlayerInteractCallback
void SetPlayerInteractCallback(const tString &in asCallbackFunc,
bool abRemoveWhenInteracted)
Parameters
- asCallbackFunc (tString) —
- abRemoveWhenInteracted (bool) —
Returns:
- void
SetPlayerInteractLeaveCallback
void SetPlayerInteractLeaveCallback(const tString &in asCallbackFunc,
bool abRemoveWhenInteracted)
Parameters
- asCallbackFunc (tString) —
- abRemoveWhenInteracted (bool) —
Returns:
- void
SetPlayerLookAtCallback
void SetPlayerLookAtCallback(const tString &in asCallbackFunc,
bool abRemoveWhenLookedAt,
bool abCheckCenterOfScreen,
bool abCheckRayIntersection,
float afMaxDistance,
float afCallbackDelay)
Parameters
- asCallbackFunc (tString) —
- abRemoveWhenLookedAt (bool) —
- abCheckCenterOfScreen (bool) —
- abCheckRayIntersection (bool) —
- afMaxDistance (float) —
- afCallbackDelay (float) —
Returns:
- void
SetPosition
SetRagdollActive
void SetRagdollActive(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetRecieveMessageCallback
void SetRecieveMessageCallback(const tString &in asCallbackFunc)
Parameters
- asCallbackFunc (tString) —
Returns:
- void
SetRelativeEyeHeight
void SetRelativeEyeHeight(float afX)
Parameters
- afX (float) —
Returns:
- void
SetSaveDataIsUpdated
void SetSaveDataIsUpdated(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetScriptableIsSaved
void SetScriptableIsSaved(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSensesActive
void SetSensesActive(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSightRange
void SetSightRange(float afX)
Parameters
- afX (float) —
Returns:
- void
SetSightRangeAffectedByModifiers
void SetSightRangeAffectedByModifiers(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSightRangeMul
void SetSightRangeMul(float afX)
Parameters
- afX (float) —
Returns:
- void
SetSoundVolume
void SetSoundVolume(float afX)
Parameters
- afX (float) —
Returns:
- void
SetStaticCollider
void SetStaticCollider(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetUpdatePlayerDetection
void SetUpdatePlayerDetection(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetUpdatePlayerDetection
bool SetUpdatePlayerDetection()
Returns:
- bool—
SetupParent
SetupRootBoneMotion
void SetupRootBoneMotion(const tString &in asAnimName,
bool abApplyMotionToEntity,
bool abApplyMotionToBone)
Parameters
- asAnimName (tString) —
- abApplyMotionToEntity (bool) —
- abApplyMotionToBone (bool) —
Returns:
- void
SetVarBool
void SetVarBool(const tString &in asName,
bool abX)
Parameters
- asName (tString) —
- abX (bool) —
Returns:
- void
SetVarColor
SetVarFloat
void SetVarFloat(const tString &in asName,
float afX)
Parameters
- asName (tString) —
- afX (float) —
Returns:
- void
SetVariableUpdateRate
void SetVariableUpdateRate(float afX)
Parameters
- afX (float) —
Returns:
- void
SetVarInt
void SetVarInt(const tString &in asName,
int alX)
Parameters
- asName (tString) —
- alX (int) —
Returns:
- void
SetVarString
SetVarVector2f
SetVarVector3f
Sleep
void Sleep()
Returns:
- void
StopAllAnimations
void StopAllAnimations(float afFadeTime)
Parameters
- afFadeTime (float) —
Returns:
- void
StopAnimation
void StopAnimation(const tString &in asName,
float afFadeTime)
Parameters
- asName (tString) —
- afFadeTime (float) —
Returns:
- void
StopAnimation
void StopAnimation(int alIdx,
float afFadeTime)
Parameters
- alIdx (int) —
- afFadeTime (float) —
Returns:
- void
StopEffectBaseColorFade
void StopEffectBaseColorFade()
Returns:
- void
Timer_Add
void Timer_Add(uint64 alID,
float afTime,
const tString &in asFunc = "",
bool abCreateIfExist = true,
bool abRepeat = false)
Parameters
- alID (uint64) —
- afTime (float) —
- asFunc (tString) —
- abCreateIfExist (bool) —
- abRepeat (bool) —
Returns:
- void
Timer_Add
Timer_ClearAll
void Timer_ClearAll()
Returns:
- void
Timer_Exists
bool Timer_Exists(uint64 alID)
Parameters
- alID (uint64) —
Returns:
- bool—
Timer_Exists
Timer_GetTimeLeft
float Timer_GetTimeLeft(uint64 alID)
Parameters
- alID (uint64) —
Returns:
- float—
Timer_GetTimeLeft
Timer_GetValue
float Timer_GetValue(uint64 alID,
float afMin = 0,
float afMax = 1,
eEasing aEasing = eEasing_Linear,
bool abAbsValue = false)
Parameters
- alID (uint64) —
- afMin (float) —
- afMax (float) —
- aEasing (eEasing) —
- abAbsValue (bool) —
Returns:
- float—
Timer_GetValue
Timer_Remove
void Timer_Remove(uint64 alID)
Parameters
- alID (uint64) —
Returns:
- void
Timer_Remove
Timer_SetPaused
void Timer_SetPaused(uint64 alID,
bool abX)
Parameters
- alID (uint64) —
- abX (bool) —
Returns:
- void
Timer_SetPaused
void Timer_SetPaused(const tString &in asID,
bool abX)
Parameters
- asID (tString) —
- abX (bool) —
Returns:
- void
Timer_TimeHasPassed
bool Timer_TimeHasPassed(uint64 alID,
float afLength)
Parameters
- alID (uint64) —
- afLength (float) —
Returns:
- bool—
Timer_TimeHasPassed
bool Timer_TimeHasPassed(const tString &in asID,
float afLength)
Parameters
- asID (tString) —
- afLength (float) —
Returns:
- bool—
Update
void Update(float afTimeStep)
Parameters
- afTimeStep (float) —
Returns:
- void
UpdateEntityAttachment
void UpdateEntityAttachment()
Returns:
- void
UpdateHitboxBodyTransforms
void UpdateHitboxBodyTransforms()
Returns:
- void
VariableUpdate
void VariableUpdate(float afDeltaTime)
Parameters
- afDeltaTime (float) —
Returns:
- void
WakeUp
void WakeUp()
Returns:
- void