HPL3/SOMA/Scripting/cLuxMap

From Frictional Wiki
< HPL3‎ | SOMA‎ | Scripting
Revision as of 03:46, 4 August 2020 by Abion47 (talk | contribs) (Created page with "{{ScriptingStub}} Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! ==Fields== cLuxMap has no public fields. ==Function...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Fields

cLuxMap has no public fields.

Functions

Return Type Function Name Parameters Description
void AddDissolveEntity cMeshEntity@ apMeshEntity,
float afTime
void AddEntityComponent iLuxEntityComponent@ apComp
void AddTimer const tString &in asName,
float afTime,
const tString &in asFunction
void BroadcastSoundHeardEvent const tString& asName,
const cVector3f &in avPosition,
float afRadius,
int alPrio,
bool abPhysicsObject = false
void CheckLineOfSight const tString &in asCallbackFunc,
const cVector3f &in avStart,
const cVector3f &in avEnd,
bool abCheckOnlyShadowCasters,
bool abCheckOnlyStatic
void CreateEntity const tString &in asName,
const tString &in asFile,
const cMatrixf &in a_mtxTransform,
const cVector3f &in avScale
bool DestroyEntity iLuxEntity@ apEntity
bool EntityExists iLuxEntity@ apEntity
bool EntityWasDestroyed
void GetClosestBody const tString &in asCallbackFunc,
const cVector3f &in avStart,
const cVector3f &in avDir,
float afRayLength
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
uint GetCollideFlag const tString &in asGroupName
const tString& GetDisplayNameEntry
float GetElapsedTime int alTimeStamp
bool GetEntityArray const tString &in asName,
eLuxEntityType aType,
const tString &in asClassName
bool GetEntityArrayID const tString &in asName,
eLuxEntityType aType,
const tString &in asClassName
iLuxEntity@ GetEntityByID tID alID,
eLuxEntityType aType = eLuxEntityType_LastEnum,
const tString &in asClassName = ""
iLuxEntity@ GetEntityByName const tString &in asName,
eLuxEntityType aType = eLuxEntityType_LastEnum,
const tString &in asClassName = ""
iLuxEntityComponent@ GetEntityComponent eLuxEntityComponentType aType,
const tString &in asName
cLuxEntityComponentIterator@ GetEntityComponentIterator eLuxEntityComponentType aType
tID GetEntityIDByName const tString &in asName,
eLuxEntityType aType = eLuxEntityType_LastEnum,
const tString &in asClassName = ""
const tString& GetFileName
bool GetIsUnderwater
iLuxEntity@ GetLatestEntity
void GetLightLevelAtPos const tString &in asCallbackFunc,
const cVector3f &in avPos,
iLight@ apSkipLight,
float afRadiusAdd
float GetMaxInteractDistance
const tString& GetName
iPhysicsWorld@ GetPhysicsWorld
iLuxEntity@ GetPlayerEntity
bool GetPlayerTerrainCollision
bool GetReturnBool
float GetReturnFloat
int GetReturnInt
tString GetReturnString
bool GetTimersNamed const tString &in asPattern
float GetTimerTime const tString &in asName
float GetTimerUserVarFloat const tString &in asName
int GetTimerUserVarInt const tString &in asName
const tString& GetTimerUserVarString const tString &in asName
int GetTimeStamp
iLuxEntity@ GetVoiceSourceEntity const tString& asCharacter
cWorld@ GetWorld
float IncTimerUserVarFloat const tString &in asName,
float afX
int IncTimerUserVarInt const tString &in asName,
int alX
bool IsActive
bool IsDeletingAllWorldEntities
void PlacePlayerAtStartPos const tString &in asName
void PostUpdate float afTimeStep
void PreloadEntity const tString &in asFile
void PreloadGuiGfx const tString &in asFile,
eImGuiGfx aType
void PreloadMaterial const tString &in asFile
void PreloadParticleSystem const tString& asFile
void RemoveEntityComponent iLuxEntityComponent@ apComp
void RemoveTimer const tString &in asName
void ResetLatestEntity
void RestartCurrentTimer float afNewTime = -1
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 SetArgBool int alArgNum,
bool abVal
void SetArgFloat int alArg,
float afX
void SetArgInt int alArg,
int alX
void SetArgString int alArg,
const tString& asStr
void SetArgVector2f int alArg,
const cVector2f& avX
void SetArgVector2l int alArg,
const cVector2l& avX
void SetArgVector3f int alArg,
const cVector3f& avX
void SetArgVector3l int alArg,
const cVector3l& avX
void SetDisplayNameEntry const tString &in asEntry
void SetIsUnderwater bool abX
void SetMaxInteractDistance float afX
void SetPlayerTerrainCollision bool abX
void SetTimerPaused const tString &in asName,
bool abX
void SetTimerUserVarFloat const tString &in asName,
float afX
void SetTimerUserVarInt const tString &in asName,
int alX
void SetTimerUserVarString const tString &in asName,
const tString &in asX
void SetVoiceSource const tString& asCharacter,
const tString& asEntityName,
float afMinDistance,
float afMaxDistance,
bool abUse3D,
float afMaxPlayerListeningRange,
float afMinFreq = 22000,
float afMaxFreq = 22000,
uint aFrequencyFlag = 0
void Update float afTimeStep
void VariableUpdate float afDeltaTime