Difference between revisions of "HPL3/SOMA/Scripting/cLuxPlayer"

From Frictional Wiki
< HPL3‎ | SOMA‎ | Scripting
Jump to navigation Jump to search
(Created page with "{{ScriptingStub}} Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! ==Fields== cLuxPlayer has no public fields. ==Funct...")
 
 
Line 150: Line 150:
 
| <syntaxhighlight lang="c++" inline>void</syntaxhighlight> || StopCameraRotate || <syntaxhighlight lang="c++" inline>float afDeacc</syntaxhighlight> ||
 
| <syntaxhighlight lang="c++" inline>void</syntaxhighlight> || StopCameraRotate || <syntaxhighlight lang="c++" inline>float afDeacc</syntaxhighlight> ||
 
|}
 
|}
 +
 +
{{ReferencesSection}}
  
 
{{HPL3SOMAScriptingCategories}}
 
{{HPL3SOMAScriptingCategories}}
 
__FORCETOC__
 
__FORCETOC__

Latest revision as of 14:58, 6 August 2020

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!

Fields

cLuxPlayer has no public fields.

Functions

Return Type Function Name Parameters Description
void AddCollideCallback iLuxEntity@ apEntity,
const tString &in asCallbackFunc
void AddHealth float afX,
float afMinHealth
void AddMoveState const tString &in asName,
int alId,
const tString &in asScriptFile,
const tString &in asScriptClass
void AddState const tString &in asName,
int alId,
const tString &in asScriptFile,
const tString &in asScriptClass
void AddUsedLiquidArea cLuxLiquidArea@ apArea
void AutomoveCharBodyTo float afAcc,
float afSpeedMul,
float afMaxSpeed,
const cVector3f &in avPosition
void ChangeMoveState int alId
void ChangeState int alId
bool CheckBodyCollision iPhysicsBody@ apBody,
cLuxMap@ apMap
bool CheckCharacterCollision iCharacterBody@ apBody,
cLuxMap@ apMap
bool CheckEntityCollision iLuxEntity@ apEntity
void DisableCameraLock
void EnableCameraLock float afLocalYawMin,
float afLocalYawMax,
float afLocalPitchMin,
float afLocalPitchMax
void FadeCameraAspectMulTo float afX,
float afSpeed
void FadeCameraFOVMulTo float afX,
float afSpeed
void FadeCameraFOVTo float afTargetFOV,
float afSpeed
void FadeCameraRollTo int alId,
float afX,
float afSpeedMul,
float afMaxSpeed
float GetAutoMoveTargetDistance
const cVector3f& GetAverageMoveDirection
float GetAverageMoveSpeed
const cVector3f& GetBaseCameraPosAdd
cCamera@ GetCamera
iCollideShape@ GetCameraCollideShape
const cVector3f& GetCameraPosAdd int alType
const cVector3f& GetCameraPosAddGoal int alType
const cVector3f& GetCameraPosAddSum
const cVector2f& GetCameraTrackingAvgMovement
iCharacterBody@ GetCharacterBody
cLuxMoveState@ GetCurrentMoveState
int GetCurrentMoveStateId
const tString& GetCurrentMoveStateName
int GetCurrentStateId
const tString& GetCurrentStateName
float GetDefaultFOV
float GetHealth
bool GetIsLiquidAreaUsed cLuxLiquidArea@ apArea
float GetLiquidHeight
float GetMaxHealth
float GetRotateCameraTargetDistance
float GetTimeSincePhysicsObjectInteraction
float GetVisibilityMaxRange
float GetVisibilityRangeMul
void GiveDamage float afAmount,
int alStrength,
int aType,
float afMinHealth,
const tString &in asSource
bool HasCollideCallbacks
bool IsActive
bool IsAutomoveCharBodyActive
bool IsCameraRotateActive
bool IsDead
bool IsInLiquid
void MoveCameraPosAdd int alType,
const cVector3f &in avGoal,
float afAcc,
float afSpeed,
float afSlowdownDist
void RemoveCollideCallback const tString &in asEntityName
void RemoveUsedLiquidArea cLuxLiquidArea@ apArea
void ResetBasicProperties
void ResetTimeSincePhysicsObjectInteraction
void RotateCameraTowards float afAcc,
float afSpeedMul,
float afMaxSpeed,
const cVector3f &in avLookAtPos,
bool abLocalCoord
void SetActive bool abX
void SetAutomoveCharBodyTarget const cVector3f &in avPosition
void SetBaseCameraPosAdd const cVector3f &in avVec
void SetCameraPosAdd int alType,
const cVector3f &in avVector
void SetCameraRoll int alId,
float afX
void SetCharacterBody iCharacterBody@ apBody
void SetHealth float afX
void SetMaxCameraTrackingAmount int alSize
void SetMaxHealth float afX
void SetRotateCameraTarget const cVector3f &in avLookAtPos,
bool abLocalCoord
void SetVisibilityMaxRange int alId,
float afX
void SetVisibilityRangeMul int alId,
float afX
void StopAutomoveCharBody
void StopCameraRotate float afDeacc

References

See all references...