# format=pipe AddAttachedPropToProp|void|(string& asPropName, string& asAttachName, string& asAttachFile, float afPosX, float afPosY, float afPosZ, float afRotX, float afRotY, float afRotZ)| AddBodyForce|void|(string& asName, float afX, float afY, float afZ, string& asCoordSystem)| AddBodyImpulse|void|(string& asName, float afX, float afY, float afZ, string& asCoordSystem)| AddCombineCallback|void|(string& asName, string& asItemA, string& asItemB, string& asFunction - Combine, bool abAutoDestroy)| AddDebugMessage|void|(string& asString, bool abCheckForDuplicates)| AddDiary|void|(string& asNameAndTextEntry, string& asImage)| AddEffectVoice|void|(string& asVoiceFile, string& asEffectFile, string& asTextCat, string& asTextEntry, bool abUsePostion, string& asPosEnitity, float afMinDistance, float afMaxDistance)| AddEnemyPatrolNode|void|(string& asName, string& asNodeName, float afWaitTime, string& asAnimation)| AddEntityCollideCallback|void|(string& asParentName, string& asChildName, string& asFunction - 'Collide', bool abDeleteOnCollide, int alStates - 1=enter 0=both -1=leave)| AddGlobalVarFloat|void|(string& asName, float afVal)| AddGlobalVarInt|void|(string& asName, int alVal)| AddGlobalVarString|void|(string& asName, string& asVal)| AddLocalVarFloat|void|(string& asName, float afVal)| AddLocalVarInt|void|(string& asName, int alVal)| AddLocalVarString|void|(string& asName, string& asVal)| AddNote|void|(string& asNameAndTextEntry, string& asImage)| AddPlayerBodyForce|void|(float afX, float afY, float afZ, bool abUseLocalCoords)| AddPlayerHealth|void|(float afHealth)| AddPlayerLampOil|void|(float afOil)| AddPlayerSanity|void|(float afSanity)| AddPropForce|void|(string& asName, float afX, float afY, float afZ, string& asCoordSystem)| AddPropHealth|void|(string& asName, float afHealth)| AddPropImpulse|void|(string& asName, float afX, float afY, float afZ, string& asCoordSystem)| AddQuest|void|(string& asName, string& asNameAndTextEntry)| AddTimer|void|(string& asName, float afTime, string& asFunction - 'Timer')| AddUseItemCallback|void|(string& asName, string& asItem, string& asEntity, string& asFunction - 'Use', bool abAutoDestroy)| AttachBodyToStickyArea|void|(string& asAreaName, string& asBody)| AttachPropToStickyArea|void|(string& asAreaName, string& asProp)| AutoSave|void|()| BlockHint|void|(string& asName)| BreakJoint|void|(string& asName)| ChangeMap|void|(string& asMapName, string& asStartPos, string& asStartSound, string& asEndSound)| ChangePlayerStateToNormal|void|()| CheckPoint|void|(string& asName, string& asStartPos, string& asCallback - 'CPCall', string& asDeathHintCat, string& asDeathHintEntry)| ClearEnemyPatrolNodes|void|(string& asEnemyName)| ClearSavedMaps|void|()| CompleteQuest|void|(string& asName, string& asNameAndTextEntry)| ConnectEntities|void|(string& asName, string& asMainEntity, string& asConnectEntity, bool abInvertStateSent, int alStatesUsed, string& asCallbackFunc - 'Connected')| CreateDataCache|void|()| CreateEntityAtArea|void|(string& asEntityName, string& asEntityFile, string& asAreaName, bool abFullGameSave)| CreateParticleSystemAtEntity|void|(string& asPSName, string& asPSFile, string& asEntity, bool abSavePS)| CreateParticleSystemAtEntityExt|void|(string& asPSName, string& asPSFile, string& asEntity, bool abSavePS, float afR, float afG, float afB, float afA, bool abFadeAtDistance, float afFadeMinEnd, float afFadeMinStart, float afFadeMaxStart, float afFadeMaxEnd)| DestroyDataCache|void|()| DestroyParticleSystem|void|(string& asName)| DetachFromStickyArea|void|(string& asAreaName)| DisableDeathStartSound|void|()| ExitInventory|void|()| FadeEnemyToSmoke|void|(string& asName, bool abPlaySound)| FadeGlobalSoundSpeed|void|(float afDestSpeed, float afTime)| FadeGlobalSoundVolume|void|(float afDestVolume, float afTime)| FadeImageTrailTo|void|(float afAmount, float afSpeed)| FadeIn|void|(float afTime)| FadeInSound|void|(string& asSoundName, float afFadeTime, bool abPlayStart)| FadeLightTo|void|(string& asLightName, float afR, float afG, float afB, float afA, float afRadius -1 RGBAR no change, float afTime)| FadeOut|void|(float afTime)| FadePlayerAspectMulTo|void|(float afX, float afSpeed)| FadePlayerFOVMulTo|void|(float afX, float afSpeed)| FadePlayerRollTo|void|(float afX, float afSpeedMul, float afMaxSpeed)| FadeRadialBlurTo|void|(float afSize, float afSpeed)| FadeSepiaColorTo|void|(float afAmount, float afSpeed)| GetEffectVoiceActive|bool|()| GetEntitiesCollide|bool|(string& asEntityA, string& asEntityB)| GetEntityExists|bool|(string& asName)| GetFlashbackIsActive|bool|()| GetGlobalVarFloat|float|(string& asName)| GetGlobalVarInt|int|(string& asName)| GetGlobalVarString|string&|(string& asName)| GetLanternActive|bool|()| GetLeverState|int|(string& asName)| GetLocalVarFloat|float|(string& asName)| GetLocalVarInt|int|(string& asName)| GetLocalVarString|string&|(string& asName)| GetPlayerHealth|float|()| GetPlayerLampOil|float|()| GetPlayerSanity|float|()| GetPlayerSpeed|float|()| GetPlayerYSpeed|float|()| GetPropHealth|float|(string& asName)| GetPropIsInteractedWith|bool|(string& asName)| GetSwingDoorClosed|bool|(string& asName)| GetSwingDoorLocked|bool|(string& asName)| GetSwingDoorState|int|(string& asName - 1=angel >70%, 0=between, -1=angel <10%)| GetTimerTimeLeft|float|(string& asName)| GiveHint|void|(string& asName, string& asMessageCat, string& asMessageEntry, float afTimeShown - 0 for auto based on length)| GiveItem|void|(string& asName, string& asType, string& asSubTypeName, string& asImageName, string& float afAmount)| GiveItemFromFile|void|(string& asName, string& asFileName, string& asSubTypeName, string& asImageName, string& float afAmount)| GivePlayerDamage|void|(float afAmount, string& asType - BloodSplat, Claws or Slash, bool abSpinHead, bool abLethal)| GiveSanityBoost|void|()| GiveSanityBoostSmall|void|()| GiveSanityDamage|void|(float afAmount, bool abUseEffect)| HasItem|bool|(string& asName)| InsanityEventIsActive|bool|()| InteractConnectPropWithMoveObject|void|(string& asName, string& asPropName, string& asMoveObjectName, bool abInteractOnly, bool abInvert, int alStatesUsed)| InteractConnectPropWithRope|void|(string& asName, string& asPropName, string& asRopeName, bool abInteractOnly, float afSpeedMul, float afMinSpeed, float afMaxSpeed, bool abInvert, int alStatesUsed)| MovePlayerForward|void|(float afAmount)| MovePlayerHeadPos|void|(float afX, float afY, float afZ, float afSpeed, float afSlowDownDist)| PlayGuiSound|void|(string& asSoundFile - .ent for entity, .ogg for raw sound, float afVolume)| PlayMusic|void|(string& asMusicFile, bool abLoop, float afVolume, float afFadeTime, int alPrio, bool abResume)| PlayPropAnimation|void|(string& asProp, string& asAnimation, float afFadeTime, bool abLoop, string& asCallback - 'Animation')| PlaySoundAtEntity|void|(string& asSoundName, string& asSoundFile, string& asEntity, float afFadeTime, bool abSaveSound)| PreloadParticleSystem|void|(string& asPSFile)| PreloadSound|void|(string& asSoundFile)| Print|void|(string& asString)| ProgLog|void|(string& asLevel, string& asMessage)| QuestIsAdded|bool|(string& asName)| QuestIsCompleted|bool|(string& asName)| RandFloat|float|(float afMin, float afMax)| RandInt|int|(int alMin, int alMax)| RemoveAttachedPropFromProp|void|(string& asPropName, string& asAttachName)| RemoveCombineCallback|void|(string& asName)| RemoveEntityCollideCallback|void|(string& asParentName, string& asChildName)| RemoveHint|void|(string& asName)| RemoveItem|void|(string& asName)| RemoveTimer|void|(string& asName)| RemoveUseItemCallback|void|(string& asName)| ResetProp|void|(string& asName)| ReturnOpenJournal|void|(bool abOpenJournal)| RotatePropToSpeed|void|(string& asName, float afAcc, float afGoalSpeed, float afAxisX, float afAxisY, float afAxisZ, bool abResetSpeed, string& asOffsetArea)| ScriptDebugOn|bool|()| SetAllowStickyAreaAttachment|void|(bool abX)| SetButtonSwitchedOn|void|(string& asName, bool abSwitchedOn, bool abEffects)| SetDeathHint|void|(string& asTextCategory, string& asTextEntry)| SetEffectVoiceOverCallback|void|(string& asFunc - 'VoiceOver')| SetEnemyDisabled|void|(string& asName, bool abDisabled)| SetEnemyDisableTriggers|void|(string& asName, bool abX)| SetEnemyIsHallucination|void|(string& asName, bool abX)| SetEntityActive|void|(string& asName, bool abActive)| SetEntityCallbackFunc|void|(string& asName, string& asCallback - 'EntityCall')| SetEntityConnectionStateChangeCallback|void|(string& asName, string& asCallback - 'StateChange')| SetEntityCustomFocusCrossHair|void|(string& asName, string& asCrossHair - Default, Grab, Push, Ignite, Pick, LevelDoor, Ladder)| SetEntityInteractionDisabled|void|(string& asName, bool abDisabled)| SetEntityPlayerInteractCallback|void|(string& asName, string& asCallback - 'Interact', bool abRemoveOnInteraction)| SetEntityPlayerLookAtCallback|void|(string& asName, string& asCallback - 'LookAt', bool abRemoveWhenLookedAt)| SetFogActive|void|(bool abActive)| SetFogColor|void|(float afR, float afG, float afB, float afA)| SetFogProperties|void|(float afStart, float afEnd, float afFalloffExp, bool abCulling)| SetGlobalVarFloat|void|(string& asName, float afVal)| SetGlobalVarInt|void|(string& asName, int alVal)| SetGlobalVarString|void|(string& asName, const string& asVal)| SetInsanitySetEnabled|void|(string& asSet, bool abX)| SetInventoryDisabled|void|(bool abX)| SetInventoryMessage|void|(string& asTextCategory, string& asTextEntry, float afTime - 0 for auto based on length)| SetLampLit|void|(string& asName, bool abLit, bool abEffects)| SetLanternActive|void|(bool abX, bool abUseEffects)| SetLanternDisabled|void|(bool abX)| SetLanternLitCallback|void|(string& asCallback - 'LanternLit')| SetLevelDoorLocked|void|(string& asName, bool abLocked)| SetLevelDoorLockedSound|void|(string& asName, string& asSound)| SetLevelDoorLockedText|void|(string& asName, string& asTextCat, string& asTextEntry)| SetLeverInteractionDisablesStuck|void|(string& asName, bool abX)| SetLeverStuckState|void|(string& asName, int alState, bool abEffects)| SetLightFlickerActive|void|(string& asLightName, bool abActive)| SetLightVisible|void|(string& asLightName, bool abVisible)| SetLocalVarFloat|void|(string& asName, float afVal)| SetLocalVarInt|void|(string& asName, int alVal)| SetLocalVarString|void|(string& asName, const string& asVal)| SetMapDisplayNameEntry|void|(string& asNameEntry)| SetMessage|void|(string& asTextCategory, string& asTextEntry, float afTime - 0 for auto based on length)| SetMoveObjectState|void|(string& asName, float afState - 0=closed 1=opened)| SetMoveObjectStateExt|void|(string& asName, float afState, float afAcc, float afMaxSpeed, float afSlowdownDist, float abResetSpeed)| SetMultiSliderCallback|void|(string& asName, string& asCallback - 'MSCall')| SetMultiSliderStuckState|void|(string& asName, int alStuckState, bool abEffects)| SetNPCAwake|void|(string& asName, bool abAwake, bool abEffects)| SetNPCFollowPlayer|void|(string& asName, bool abX)| SetNumberOfQuestsInMap|void|(int alNumberOfQuests)| SetPlayerActive|void|(bool abActive)| SetPlayerCrouchDisabled|void|(bool abX)| SetPlayerCrouching|void|(bool abCrouch)| SetPlayerHealth|void|(float afHealth)| SetPlayerJumpDisabled|void|(bool abX)| SetPlayerLampOil|void|(float afOil)| SetPlayerLookSpeedMul|void|(float afMul)| SetPlayerMoveSpeedMul|void|(float afMul)| SetPlayerPermaDeathSound|void|(string& asFile)| SetPlayerRunSpeedMul|void|(float afMul)| SetPlayerSanity|void|(float afSanity)| SetPropActiveAndFade|void|(string& asName, bool abX, float afFadeTime)| SetPropEffectActive|void|(string& asName, bool abActive, bool abFadeAndPlaySounds)| SetPropHealth|void|(string& asName, float afHealth)| SetPropObjectStuckState|void|(string& asName, int alState - 0=lose 1=max -1=min)| SetPropStaticPhysics|void|(string& asName, bool abX)| SetRadialBlurStartDist|void|(float afStartDist)| SetSanityDrainDisabled|void|(bool abX)| SetSkyBoxActive|void|(bool abActive)| SetSkyBoxColor|void|(float afR, float afG, float afB, float afA)| SetSkyBoxTexture|void|(string& asTexture)| SetSwingDoorClosed|void|(string& asName, bool abClosed, bool abEffects)| SetSwingDoorDisableAutoClose|void|(string& asName, bool abDisableAutoClose)| SetSwingDoorLocked|void|(string& asName, bool abLocked, bool abEffects)| SetupLoadScreen|void|(string& asTextCat, string& asTextEntry, int alRandomNum - > 1 for random suffix XX, string& asImageFile)| SetWheelAngle|void|(string& asName, float afAngle, bool abAutoMove)| SetWheelInteractionDisablesStuck|void|(string& asName, bool abX)| SetWheelStuckState|void|(string& asName, int alState, bool abEffects)| ShowEnemyPlayerPosition|void|(string& asName)| ShowPlayerCrossHairIcons|void|(bool abX)| StartCredits|void|(string& asMusic, bool abLoopMusic, string& asTextCat, string& asTextEntry, int alEndNum)| StartDemoEnd|void|()| StartEffectEmotionFlash|void|(string& asTextCat, string& asTextCat, string& asSound)| StartEffectFlash|void|(float afFadeIn, float afWhite, float afFadeOut)| StartPlayerLookAt|void|(string& asEntityName, float afSpeedMul, float afMaxSpeed, string& asAtTargetCallback - 'LookAt')| StartPlayerSpawnPS|void|(string& asPSFile)| StartRandomInsanityEvent|void|()| StartScreenShake|void|(float afAmount, float afTime, float afFadeInTime, float afFadeOutTime)| StopAllEffectVoices|void|(float afFadeOutTime)| StopMusic|void|(float afFadeTime, int alPrio)| StopPlayerLookAt|void|()| StopPlayerSpawnPS|void|()| StopPropMovement|void|(string& asName)| StopSound|void|(string& asSoundName, float afFadeTime)| StringContains|bool|(string& asString, string& asSubString)| StringSub|string&|(string& asString, int alStart, int alCount)| TeleportPlayer|void|(string& asStartPosName)| UnBlockHint|void|(string& asName)| StringToFloat|float|(string&in asString)| StringToInt|int|(string&in asString)| StringToBool|bool|(string&in asString)| MathSin|float|(float afX)| MathCos|float|(float afX)| MathTan|float|(float afX)| MathAsin|float|(float afX)| MathAcos|float|(float afX)| MathAtan|float|(float afX)| MathAtan2|float|(float afX, float afY)| MathSqrt|float|(float afX)| MathPow|float|(float afBase, float afExp)| MathMin|float|(float afA, float afB)| MathMax|float|(float afA, float afB)| MathClamp|float|(float afX, float afMin, float afMax)| MathAbs|float|(float afX)| GetPlayerPosX|float|()| GetPlayerPosY|float|()| GetPlayerPosZ|float|()| GetEntityPosX|float|(string &in asName)| GetEntityPosY|float|(string &in asName)| GetEntityPosZ|float|(string &in asName)| GetBodyMass|float|(string &in asName)| SetInDarknessEffectsActive|void|(bool abX)| StartInsanityEvent|void|(string &in asEventName)| StopCurrentInsanityEvent|void|()| SetPlayerJumpForceMul|void|(float afMul)| SetPlayerFallDamageDisabled|void|(bool abX)| SetPlayerPos|void|(float afX, float afY, float afZ)| SetEntityVisible|void|(string &in asName, bool abVisible)| ReplaceEntity|void|(string &in asName, string &in asBodyName, string &in asNewEntityName, string &in asNewEntityFile, bool abFullGameSave)| PlaceEntityAtEntity|void|(string &in asName, string &in asTargetEntity, string &in asTargetBodyName, bool abUseRotation)| SetEntityPos|void|(string &in asName, float afX, float afY, float afZ)| SetBodyMass|void|(string &in asName, float afMass)| AttachPropToProp|void|(string& asPropName, string& asAttachName, string& asAttachFile, float afPosX, float afPosY, float afPosZ, float afRotX, float afRotY, float afRotZ)| AlertEnemyOfPlayerPresence|void|(string &in asName)| SetEnemySanityDecreaseActive|void|(string &in asName, bool abX)| TeleportEnemyToNode|void|(string &in asEnemyName, string &in asNodeName, bool abChangeY)| TeleportEnemyToEntity|void|(string &in asEnemyName, string &in asTargetEntity, string &in asTargetBody, bool abChangeY)| ChangeManPigPose|void|(string&in asName, string&in asPoseType)| SetTeslaPigFadeDisabled|void|(string&in asName, bool abX)| SetTeslaPigSoundDisabled|void|(string&in asName, bool abX)| SetTeslaPigEasyEscapeDisabled|void|(string&in asName, bool abX)| ForceTeslaPigSighting|void|(string&in asName)| GetEnemyStateName|string&|(string &in asName)|