EVT scripting API functions available at all times.
Definition in file common.h.
Go to the source code of this file.
Functions | |
Map | |
ApiStatus | TranslateModel (Evt *script, b32 isInitialCall) |
Translates the given model's position. | |
ApiStatus | RotateModel (Evt *script, b32 isInitialCall) |
Rotates the model the given amount on the selected axis. | |
ApiStatus | ScaleModel (Evt *script, b32 isInitialCall) |
Scales the model the given amount along the selected axis. | |
ApiStatus | GetModelIndex (Evt *script, b32 isInitialCall) |
Returns the given model's index. | |
ApiStatus | InvalidateModelTransform (Evt *script, b32 isInitialCall) |
ApiStatus | CloneModel (Evt *script, b32 isInitialCall) |
Clones the given model. | |
ApiStatus | GetModelCenter (Evt *script, b32 isInitialCall) |
Returns the center of the given model. | |
ApiStatus | SetTexPanner (Evt *script, b32 isInitialCall) |
Sets a model's pannerID and sets the texture pan flag. | |
ApiStatus | SetCustomGfxEnabled (Evt *script, b32 isInitialCall) |
ApiStatus | SetModelCustomGfx (Evt *script, b32 isInitialCall) |
ApiStatus | SetModelTexVariant (Evt *script, b32 isInitialCall) |
ApiStatus | EnableTexPanning (Evt *script, b32 isInitialCall) |
Enables or disables texture panning on the given model. | |
ApiStatus | EnableModel (Evt *script, b32 isInitialCall) |
Enables or disables the given model. | |
ApiStatus | SetGroupVisibility (Evt *script, b32 isInitialCall) |
Enables or disables the given group. | |
ApiStatus | SetTexPanOffset (Evt *script, b32 isInitialCall) |
Sets offsets for texture panners. | |
ApiStatus | SetCustomGfx (Evt *script, b32 isInitialCall) |
ApiStatus | SetCustomGfxBuilders (Evt *script, b32 isInitialCall) |
ApiStatus | SetModelFlags (Evt *script, b32 isInitialCall) |
Sets flags for models. | |
ApiStatus | MakeTransformGroup (Evt *script, b32 isInitialCall) |
ApiStatus | SetTransformGroupEnabled (Evt *script, b32 isInitialCall) |
ApiStatus | TranslateGroup (Evt *script, b32 isInitialCall) |
Translates the given group's position. | |
ApiStatus | RotateGroup (Evt *script, b32 isInitialCall) |
Rotates the given group's position. | |
ApiStatus | ScaleGroup (Evt *script, b32 isInitialCall) |
Scales the given group's position. | |
ApiStatus | GetTransformGroup (Evt *script, b32 isInitialCall) |
ApiStatus | EnableGroup (Evt *script, b32 isInitialCall) |
Enables or disables the given group. | |
ApiStatus | MakeLocalVertexCopy (Evt *script, b32 isInitialCall) |
ApiStatus | ModifyColliderFlags (Evt *script, b32 isInitialCall) |
Set flags for collider + siblings + children. | |
ApiStatus | ResetFromLava (Evt *script, b32 isInitialCall) |
ApiStatus | GetColliderCenter (Evt *script, b32 isInitialCall) |
Returns the center of the given collider. | |
ApiStatus | ParentColliderToModel (Evt *script, b32 isInitialCall) |
Associates a model with a collider and applies the model's transformation. | |
ApiStatus | UpdateColliderTransform (Evt *script, b32 isInitialCall) |
Applies transformation from parent model. | |
ApiStatus | SetZoneEnabled (Evt *script, b32 isInitialCall) |
Enables or disables the given zone. | |
ApiStatus | GotoMap (Evt *script, b32 isInitialCall) |
Makes the player go to the given map and at the given entrance. | |
ApiStatus | GotoMapSpecial (Evt *script, b32 isInitialCall) |
Makes the player go to the given map and at the given entrance with a unique fadeout effect. | |
ApiStatus | GotoMapByID (Evt *script, b32 isInitialCall) |
ApiStatus | GetEntryID (Evt *script, b32 isInitialCall) |
Returns the entryID of the Entry that the player entered the map from. | |
ApiStatus | GetMapID (Evt *script, b32 isInitialCall) |
Returns the mapID of the map the player is currently on. | |
ApiStatus | GetLoadType (Evt *script, b32 isInitialCall) |
Returns the way the player loaded into the map, commonly used by to put the player in the correct position for save blocks. | |
ApiStatus | SetRenderMode (Evt *script, b32 isInitialCall) |
ApiStatus | PlaySoundAtModel (Evt *script, b32 isInitialCall) |
Plays the given sound at the given model. | |
ApiStatus | PlaySoundAtCollider (Evt *script, b32 isInitialCall) |
Plays the given sound at the given collider. | |
Animated Model | |
ApiStatus | InitAnimatedModels (Evt *script, b32 isInitialCall) |
ApiStatus | LoadAnimatedModel (Evt *script, b32 isInitialCall) |
ApiStatus | LoadAnimatedMesh (Evt *script, b32 isInitialCall) |
ApiStatus | PlayModelAnimation (Evt *script, b32 isInitialCall) |
ApiStatus | PlayModelAnimationStartingFrom (Evt *script, b32 isInitialCall) |
ApiStatus | ChangeModelAnimation (Evt *script, b32 isInitialCall) |
ApiStatus | SetAnimatedModelRootPosition (Evt *script, b32 isInitialCall) |
ApiStatus | GetAnimatedModelRootPosition (Evt *script, b32 isInitialCall) |
ApiStatus | AddAnimatedModelRootPosition (Evt *script, b32 isInitialCall) |
ApiStatus | SetAnimatedModelRootRotation (Evt *script, b32 isInitialCall) |
ApiStatus | SetAnimatedModelRootScale (Evt *script, b32 isInitialCall) |
ApiStatus | SetAnimatedModelRenderMode (Evt *script, b32 isInitialCall) |
ApiStatus | DeleteAnimatedModel (Evt *script, b32 isInitialCall) |
ApiStatus | SetAnimatorFlags (Evt *script, b32 isInitialCall) |
ApiStatus | GetAnimatedNodePosition (Evt *script, b32 isInitialCall) |
ApiStatus | GetAnimatedNodeRotation (Evt *script, b32 isInitialCall) |
ApiStatus | GetAnimatedPositionByTreeIndex (Evt *script, b32 isInitialCall) |
ApiStatus | GetAnimatedRotationByTreeIndex (Evt *script, b32 isInitialCall) |
ApiStatus | SetAnimatedNodeFlags (Evt *script, b32 isInitialCall) |
Camera | |
ApiStatus | SetCamEnabled (Evt *script, b32 isInitialCall) |
ApiStatus | SetCamNoDraw (Evt *script, b32 isInitialCall) |
ApiStatus | SetCamPerspective (Evt *script, b32 isInitialCall) |
ApiStatus | SetCamUpdateMode (Evt *script, b32 isInitialCall) |
ApiStatus | GrabCamera (Evt *script, b32 isInitialCall) |
ApiStatus | GetInterpCamDist (Evt *script, b32 isInitialCall) |
ApiStatus | GetInterpCamOffsetY (Evt *script, b32 isInitialCall) |
ApiStatus | SetInterpCamDist (Evt *script, b32 isInitialCall) |
ApiStatus | SetInterpCamOffsetY (Evt *script, b32 isInitialCall) |
ApiStatus | SetInterpCamParams (Evt *script, b32 isInitialCall) |
ApiStatus | SetNoInterpCamParams (Evt *script, b32 isInitialCall) |
ApiStatus | SetCamViewport (Evt *script, b32 isInitialCall) |
ApiStatus | SetCamBGColor (Evt *script, b32 isInitialCall) |
ApiStatus | SetCamLookTarget (Evt *script, b32 isInitialCall) |
ApiStatus | SetCamTarget (Evt *script, b32 isInitialCall) |
ApiStatus | InterpCamTargetPos (Evt *script, b32 isInitialCall) |
ApiStatus | ShakeCam (Evt *script, b32 isInitialCall) |
ApiStatus | SetCamLeadPlayer (Evt *script, b32 isInitialCall) |
ApiStatus | EnableCameraFollowPlayerY (Evt *script, b32 isInitialCall) |
ApiStatus | DisableCameraFollowPlayerY (Evt *script, b32 isInitialCall) |
ApiStatus | EnableCameraLeadingPlayer (Evt *script, b32 isInitialCall) |
ApiStatus | DisableCameraLeadingPlayer (Evt *script, b32 isInitialCall) |
ApiStatus | SetCamLeadScale (Evt *script, b32 isInitialCall) |
ApiStatus | PanToTarget (Evt *script, b32 isInitialCall) |
ApiStatus | UseSettingsFrom (Evt *script, b32 isInitialCall) |
ApiStatus | LoadSettings (Evt *script, b32 isInitialCall) |
ApiStatus | SetCamType (Evt *script, b32 isInitialCall) |
ApiStatus | SetCamPitch (Evt *script, b32 isInitialCall) |
ApiStatus | SetCamDistance (Evt *script, b32 isInitialCall) |
ApiStatus | SetCamPosA (Evt *script, b32 isInitialCall) |
ApiStatus | SetCamPosB (Evt *script, b32 isInitialCall) |
ApiStatus | SetCamPosC (Evt *script, b32 isInitialCall) |
ApiStatus | SetPanTarget (Evt *script, b32 isInitialCall) |
ApiStatus | SetCamSpeed (Evt *script, b32 isInitialCall) |
ApiStatus | GetCamType (Evt *script, b32 isInitialCall) |
ApiStatus | GetCamPitch (Evt *script, b32 isInitialCall) |
ApiStatus | GetCamDistance (Evt *script, b32 isInitialCall) |
ApiStatus | GetCamPosA (Evt *script, b32 isInitialCall) |
ApiStatus | GetCamPosB (Evt *script, b32 isInitialCall) |
ApiStatus | GetCamPosC (Evt *script, b32 isInitialCall) |
ApiStatus | GetCamPosition (Evt *script, b32 isInitialCall) |
ApiStatus | WaitForCam (Evt *script, b32 isInitialCall) |
ApiStatus | SetCamProperties (Evt *script, b32 isInitialCall) |
ApiStatus | AdjustCam (Evt *script, b32 isInitialCall) |
ApiStatus | ResetCam (Evt *script, b32 isInitialCall) |
NPC | |
ApiStatus | CreateNpc (Evt *script, b32 isInitialCall) |
ApiStatus | DeleteNpc (Evt *script, b32 isInitialCall) |
ApiStatus | GetNpcPointer (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcPos (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcRotation (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcRotationPivot (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcScale (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcCollisionSize (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcSpeed (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcJumpscale (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcAnimation (Evt *script, b32 isInitialCall) |
ApiStatus | GetNpcAnimation (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcAnimationSpeed (Evt *script, b32 isInitialCall) |
ApiStatus | NpcMoveTo (Evt *script, b32 isInitialCall) |
ApiStatus | NpcJump0 (Evt *script, b32 isInitialCall) |
ApiStatus | NpcJump1 (Evt *script, b32 isInitialCall) |
ApiStatus | NpcFlyTo (Evt *script, b32 isInitialCall) |
ApiStatus | GetNpcYaw (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcYaw (Evt *script, b32 isInitialCall) |
ApiStatus | InterpNpcYaw (Evt *script, b32 isInitialCall) |
ApiStatus | NpcFacePlayer (Evt *script, b32 isInitialCall) |
ApiStatus | NpcFaceNpc (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcFlagBits (Evt *script, b32 isInitialCall) |
ApiStatus | GetNpcPos (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcCollisionChannel (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcSprite (Evt *script, b32 isInitialCall) |
ApiStatus | EnableNpcShadow (Evt *script, b32 isInitialCall) |
ApiStatus | EnableNpcBlur (Evt *script, b32 isInitialCall) |
ApiStatus | ClearPartnerMoveHistory (Evt *script, b32 isInitialCall) |
ApiStatus | NpcSetHomePosToCurrent (Evt *script, b32 isInitialCall) |
ApiStatus | GetPartnerPos (Evt *script, b32 isInitialCall) |
ApiStatus | DisablePartnerAI (Evt *script, b32 isInitialCall) |
ApiStatus | EnablePartnerAI (Evt *script, b32 isInitialCall) |
ApiStatus | func_802CF54C (Evt *script, b32 isInitialCall) |
ApiStatus | func_802CF56C (Evt *script, b32 isInitialCall) |
ApiStatus | BringPartnerOut (Evt *script, b32 isInitialCall) |
ApiStatus | PutPartnerAway (Evt *script, b32 isInitialCall) |
ApiStatus | GetCurrentPartnerID (Evt *script, b32 isInitialCall) |
ApiStatus | PartnerCanUseAbility (Evt *script, b32 isInitialCall) |
ApiStatus | PartnerIsFlying (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcImgFXParams (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcImgFXFlags (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcPaletteSwapMode (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcPaletteSwapLower (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcPaletteSwapping (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcDecoration (Evt *script, b32 isInitialCall) |
ApiStatus | PlaySoundAtNpc (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcRenderMode (Evt *script, b32 isInitialCall) |
Encounter | |
ApiStatus | SetEncounterStatusFlags (Evt *script, b32 isInitialCall) |
ApiStatus | IsStartingConversation (Evt *script, b32 isInitialCall) |
ApiStatus | LoadDemoBattle (Evt *script, b32 isInitialCall) |
ApiStatus | func_80044290 (Evt *script, b32 isInitialCall) |
ApiStatus | MakeNpcs (Evt *script, b32 isInitialCall) |
ApiStatus | RemoveNpc (Evt *script, b32 isInitialCall) |
ApiStatus | RemoveEncounter (Evt *script, b32 isInitialCall) |
ApiStatus | GetBattleOutcome (Evt *script, b32 isInitialCall) |
ApiStatus | func_800445A8 (Evt *script, b32 isInitialCall) |
ApiStatus | func_800445D4 (Evt *script, b32 isInitialCall) |
ApiStatus | GetOwnerEncounterTrigger (Evt *script, b32 isInitialCall) |
ApiStatus | DoNpcDefeat (Evt *script, b32 isInitialCall) |
ApiStatus | StartBattle (Evt *script, b32 isInitialCall) |
ApiStatus | StartBattleWith (Evt *script, b32 isInitialCall) |
ApiStatus | StartBossBattle (Evt *script, b32 isInitialCall) |
ApiStatus | SetBattleMusic (Evt *script, b32 isInitialCall) |
ApiStatus | BindNpcAI (Evt *script, b32 isInitialCall) |
ApiStatus | BindNpcIdle (Evt *script, b32 isInitialCall) |
ApiStatus | RestartNpcAI (Evt *script, b32 isInitialCall) |
ApiStatus | EnableNpcAI (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcAux (Evt *script, b32 isInitialCall) |
ApiStatus | BindNpcAux (Evt *script, b32 isInitialCall) |
ApiStatus | RestartNpcAux (Evt *script, b32 isInitialCall) |
ApiStatus | EnableNpcAux (Evt *script, b32 isInitialCall) |
ApiStatus | BindNpcInteract (Evt *script, b32 isInitialCall) |
ApiStatus | BindNpcHit (Evt *script, b32 isInitialCall) |
ApiStatus | BindNpcDefeat (Evt *script, b32 isInitialCall) |
ApiStatus | SetSelfVar (Evt *script, b32 isInitialCall) |
ApiStatus | GetSelfVar (Evt *script, b32 isInitialCall) |
ApiStatus | SetNpcVar (Evt *script, b32 isInitialCall) |
ApiStatus | GetNpcVar (Evt *script, b32 isInitialCall) |
ApiStatus | SetSelfRotation (Evt *script, b32 isInitialCall) |
ApiStatus | SetSelfEnemyFlags (Evt *script, b32 isInitialCall) |
ApiStatus | SetSelfEnemyFlagBits (Evt *script, b32 isInitialCall) |
ApiStatus | SelfEnemyOverrideSyncPos (Evt *script, b32 isInitialCall) |
ApiStatus | GetSelfNpcID (Evt *script, b32 isInitialCall) |
ApiStatus | ClearDefeatedEnemies (Evt *script, b32 isInitialCall) |
ApiStatus | SetEnemyFlagBits (Evt *script, b32 isInitialCall) |
ApiStatus | func_8004572C (Evt *script, b32 isInitialCall) |
ApiStatus | GetSelfAnimationFromTable (Evt *script, b32 isInitialCall) |
ApiStatus | func_80045798 (Evt *script, b32 isInitialCall) |
ApiStatus | SetOwnerInstigatorValue (Evt *script, b32 isInitialCall) |
ApiStatus | SetBattleAsScripted (Evt *script, b32 isInitialCall) |
ApiStatus | GetEncounterTriggerHitTier (Evt *script, b32 isInitialCall) |
ApiStatus | func_80045838 (Evt *script, b32 isInitialCall) |
ApiStatus | func_800458CC (Evt *script, b32 isInitialCall) |
ApiStatus | OnPlayerFled (Evt *script, b32 isInitialCall) |
ApiStatus | SetTattleMessage (Evt *script, b32 isInitialCall) |
ApiStatus | ShowMerleeCoinMessage (Evt *script, b32 isInitialCall) |
ApiStatus | ShowMerleeRanOutMessage (Evt *script, b32 isInitialCall) |
ApiStatus | FadeInMerlee (Evt *script, b32 isInitialCall) |
ApiStatus | FadeOutMerlee (Evt *script, b32 isInitialCall) |
ApiStatus | MerleeUpdateFX (Evt *script, b32 isInitialCall) |
ApiStatus | MerleeStopFX (Evt *script, b32 isInitialCall) |
ApiStatus | PlayMerleeGatherFX (Evt *script, b32 isInitialCall) |
ApiStatus | PlayMerleeOrbFX (Evt *script, b32 isInitialCall) |
ApiStatus | FadeBackgroundDarken (Evt *script, b32 isInitialCall) |
ApiStatus | FadeBackgroundLighten (Evt *script, b32 isInitialCall) |
ApiStatus | GetCamLookAtObjVector (Evt *script, b32 isInitialCall) |
ApiStatus | HasMerleeCasts (Evt *script, b32 isInitialCall) |
ApiStatus | OnDefeatEnemy (Evt *script, b32 isInitialCall) |
ApiStatus | OnFleeBattleDrops (Evt *script, b32 isInitialCall) |
Message | |
ApiStatus | SpeakToPlayer (Evt *script, b32 isInitialCall) |
ApiStatus | EndSpeech (Evt *script, b32 isInitialCall) |
ApiStatus | ContinueSpeech (Evt *script, b32 isInitialCall) |
ApiStatus | SpeakToNpc (Evt *script, b32 isInitialCall) |
ApiStatus | ShowMessageAtScreenPos (Evt *script, b32 isInitialCall) |
ApiStatus | ShowMessageAtWorldPos (Evt *script, b32 isInitialCall) |
ApiStatus | CloseMessage (Evt *script, b32 isInitialCall) |
ApiStatus | SwitchMessage (Evt *script, b32 isInitialCall) |
ApiStatus | ShowChoice (Evt *script, b32 isInitialCall) |
ApiStatus | CloseChoice (Evt *script, b32 isInitialCall) |
ApiStatus | CancelMessage (Evt *script, b32 isInitialCall) |
ApiStatus | SetMessageImages (Evt *script, b32 isInitialCall) |
ApiStatus | func_802D0C94 (Evt *script, b32 isInitialCall) |
ApiStatus | SetMessageText (Evt *script, b32 isInitialCall) |
ApiStatus | SetMessageValue (Evt *script, b32 isInitialCall) |
Player | |
ApiStatus | HidePlayerShadow (Evt *script, b32 isInitialCall) |
Hides the player's shadow if hide is TRUE , shows it if FALSE . | |
ApiStatus | DisablePlayerPhysics (Evt *script, b32 isInitialCall) |
Disables player physics if disable is TRUE , enables it if FALSE . | |
ApiStatus | DisablePlayerInput (Evt *script, b32 isInitialCall) |
Disables player and partner input, and disables the status menu. | |
ApiStatus | SetPlayerPos (Evt *script, b32 isInitialCall) |
Sets the player position. | |
ApiStatus | SetPlayerCollisionSize (Evt *script, b32 isInitialCall) |
Overrides the player collision size. | |
ApiStatus | SetPlayerSpeed (Evt *script, b32 isInitialCall) |
Sets the move speed of the player for subequent PlayerMoveTo calls. | |
ApiStatus | SetPlayerJumpscale (Evt *script, b32 isInitialCall) |
ApiStatus | SetPlayerAnimation (Evt *script, b32 isInitialCall) |
ApiStatus | SetPlayerActionState (Evt *script, b32 isInitialCall) |
ApiStatus | SetPlayerAnimationSpeed (Evt *script, b32 isInitialCall) |
ApiStatus | PlayerMoveTo (Evt *script, b32 isInitialCall) |
ApiStatus | func_802D1270 (Evt *script, b32 isInitialCall) |
ApiStatus | func_802D1380 (Evt *script, b32 isInitialCall) |
ApiStatus | PlayerJump (Evt *script, b32 isInitialCall) |
ApiStatus | PlayerJump1 (Evt *script, b32 isInitialCall) |
ApiStatus | PlayerJump2 (Evt *script, b32 isInitialCall) |
ApiStatus | InterpPlayerYaw (Evt *script, b32 isInitialCall) |
ApiStatus | PlayerFaceNpc (Evt *script, b32 isInitialCall) |
ApiStatus | GetPlayerTargetYaw (Evt *script, b32 isInitialCall) |
ApiStatus | SetPlayerFlagBits (Evt *script, b32 isInitialCall) |
ApiStatus | GetPlayerActionState (Evt *script, b32 isInitialCall) |
ApiStatus | GetPlayerPos (Evt *script, b32 isInitialCall) |
ApiStatus | GetPlayerAnimation (Evt *script, b32 isInitialCall) |
ApiStatus | FullyRestoreHPandFP (Evt *script, b32 isInitialCall) |
ApiStatus | FullyRestoreSP (Evt *script, b32 isInitialCall) |
ApiStatus | EnablePartner (Evt *script, b32 isInitialCall) |
Enables switching to the given partner. | |
ApiStatus | DisablePartner (Evt *script, b32 isInitialCall) |
Disables switching to the given partner. | |
ApiStatus | UseEntryHeading (Evt *script, b32 isInitialCall) |
ApiStatus | func_802D2148 (Evt *script, b32 isInitialCall) |
ApiStatus | UseExitHeading (Evt *script, b32 isInitialCall) |
ApiStatus | WaitForPlayerTouchingFloor (Evt *script, b32 isInitialCall) |
ApiStatus | func_802D2484 (Evt *script, b32 isInitialCall) |
ApiStatus | IsPlayerOnValidFloor (Evt *script, b32 isInitialCall) |
ApiStatus | WaitForPlayerMoveToComplete (Evt *script, b32 isInitialCall) |
ApiStatus | WaitForPlayerInputEnabled (Evt *script, b32 isInitialCall) |
ApiStatus | UpdatePlayerImgFX (Evt *script, b32 isInitialCall) |
ApiStatus | SetPlayerImgFXFlags (Evt *script, b32 isInitialCall) |
ApiStatus | FacePlayerTowardPoint (Evt *script, b32 isInitialCall) |
ApiStatus | DisablePulseStone (Evt *script, b32 isInitialCall) |
ApiStatus | GetPartnerInUse (Evt *script, b32 isInitialCall) |
ApiStatus | ForceUsePartner (Evt *script, b32 isInitialCall) |
ApiStatus | InterruptUsePartner (Evt *script, b32 isInitialCall) |
ApiStatus | Disable8bitMario (Evt *script, b32 isInitialCall) |
Enables and disables the 8-bit Mario easter egg. | |
ApiStatus | func_802D2C14 (Evt *script, b32 isInitialCall) |
ApiStatus | SetPlayerPushVelocity (Evt *script, b32 isInitialCall) |
ApiStatus | PlaySoundAtPlayer (Evt *script, b32 isInitialCall) |
Math | |
ApiStatus | MakeLerp (Evt *script, b32 isInitialCall) |
ApiStatus | UpdateLerp (Evt *script, b32 isInitialCall) |
ApiStatus | RandInt (Evt *script, b32 isInitialCall) |
ApiStatus | GetAngleBetweenNPCs (Evt *script, b32 isInitialCall) |
ApiStatus | GetAngleToNPC (Evt *script, b32 isInitialCall) |
ApiStatus | GetAngleToPlayer (Evt *script, b32 isInitialCall) |
ApiStatus | AwaitPlayerApproach (Evt *script, b32 isInitialCall) |
ApiStatus | IsPlayerWithin (Evt *script, b32 isInitialCall) |
ApiStatus | AwaitPlayerLeave (Evt *script, b32 isInitialCall) |
ApiStatus | AddVectorPolar (Evt *script, b32 isInitialCall) |
ApiStatus | func_802D4BDC (Evt *script, b32 isInitialCall) |
ApiStatus | func_802D4C4C (Evt *script, b32 isInitialCall) |
ApiStatus | func_802D4CC4 (Evt *script, b32 isInitialCall) |
ApiStatus | func_802D4D14 (Evt *script, b32 isInitialCall) |
ApiStatus | func_802D4D88 (Evt *script, b32 isInitialCall) |
ApiStatus | LoadPath (Evt *script, b32 isInitialCall) |
ApiStatus | GetNextPathPos (Evt *script, b32 isInitialCall) |
ApiStatus | GetDist2D (Evt *script, b32 isInitialCall) |
ApiStatus | SetTimeFreezeMode (Evt *script, b32 isInitialCall) |
ApiStatus | ModifyGlobalOverrideFlags (Evt *script, b32 isInitialCall) |
ApiStatus | SetValueByRef (Evt *script, b32 isInitialCall) |
ApiStatus | GetValueByRef (Evt *script, b32 isInitialCall) |
ApiStatus | SetGameMode (Evt *script, b32 isInitialCall) |
ApiStatus | ClampAngleInt (Evt *script, b32 isInitialCall) |
ApiStatus | ClampAngleFloat (Evt *script, b32 isInitialCall) |
UI | |
ApiStatus | EnableWorldStatusBar (Evt *script, b32 isInitialCall) |
ApiStatus | ShowWorldStatusBar (Evt *script, b32 isInitialCall) |
ApiStatus | ShowCoinCounter (Evt *script, b32 isInitialCall) |
Audio | |
ApiStatus | PollMusicEvents (Evt *script, b32 isInitialCall) |
ApiStatus | RegisterMusicEvents (Evt *script, b32 isInitialCall) |
ApiStatus | FadeOutMusic (Evt *script, b32 isInitialCall) |
ApiStatus | SetMusicTrack (Evt *script, b32 isInitialCall) |
ApiStatus | FadeInMusic (Evt *script, b32 isInitialCall) |
ApiStatus | EnableMusicProximityMix (Evt *script, b32 isInitialCall) |
ApiStatus | AdjustMusicProximityMix (Evt *script, b32 isInitialCall) |
ApiStatus | SetMusicTrackVolumes (Evt *script, b32 isInitialCall) |
ApiStatus | PopSong (Evt *script, b32 isInitialCall) |
ApiStatus | PushSong (Evt *script, b32 isInitialCall) |
ApiStatus | PopBattleSong (Evt *script, b32 isInitialCall) |
ApiStatus | PushBattleSong (Evt *script, b32 isInitialCall) |
ApiStatus | SetBattleSong (Evt *script, b32 isInitialCall) |
ApiStatus | ClearAmbientSounds (Evt *script, b32 isInitialCall) |
ApiStatus | PlayAmbientSounds (Evt *script, b32 isInitialCall) |
ApiStatus | PlaySound (Evt *script, b32 isInitialCall) |
ApiStatus | PlaySoundWithVolume (Evt *script, b32 isInitialCall) |
ApiStatus | PlaySoundAt (Evt *script, b32 isInitialCall) |
ApiStatus | StopSound (Evt *script, b32 isInitialCall) |
ApiStatus | StopTrackingSoundPos (Evt *script, b32 isInitialCall) |
ApiStatus | UseDoorSounds (Evt *script, b32 isInitialCall) |
ApiStatus | UseRoomDoorSounds (Evt *script, b32 isInitialCall) |
ApiStatus | PlaySoundAtF (Evt *script, b32 isInitialCall) |
Virtual Entity | |
ApiStatus | InitVirtualEntityList (Evt *script, b32 isInitialCall) |
ApiStatus | CreateVirtualEntityAt (Evt *script, b32 isInitialCall) |
ApiStatus | CreateVirtualEntity (Evt *script, b32 isInitialCall) |
ApiStatus | CreateVirtualEntity_ALT (Evt *script, b32 isInitialCall) |
ApiStatus | DeleteVirtualEntity (Evt *script, b32 isInitialCall) |
ApiStatus | SetVirtualEntityRenderCommands (Evt *script, b32 isInitialCall) |
ApiStatus | SetVirtualEntityPosition (Evt *script, b32 isInitialCall) |
ApiStatus | GetVirtualEntityPosition (Evt *script, b32 isInitialCall) |
ApiStatus | SetVirtualEntityRotation (Evt *script, b32 isInitialCall) |
ApiStatus | SetVirtualEntityScale (Evt *script, b32 isInitialCall) |
ApiStatus | SetVirtualEntityMoveSpeed (Evt *script, b32 isInitialCall) |
ApiStatus | SetVirtualEntityJumpGravity (Evt *script, b32 isInitialCall) |
ApiStatus | VirtualEntityMoveTo (Evt *script, b32 isInitialCall) |
ApiStatus | VirtualEntityJumpTo (Evt *script, b32 isInitialCall) |
ApiStatus | VirtualEntityLandJump (Evt *script, b32 isInitialCall) |
ApiStatus | SetVirtualEntityFlags (Evt *script, b32 isInitialCall) |
ApiStatus | SetVirtualEntityFlagBits (Evt *script, b32 isInitialCall) |
ApiStatus | SetVirtualEntityRenderMode (Evt *script, b32 isInitialCall) |
Item | |
ApiStatus | ShowKeyChoicePopup (Evt *script, b32 isInitialCall) |
ApiStatus | ShowConsumableChoicePopup (Evt *script, b32 isInitialCall) |
ApiStatus | RemoveKeyItemAt (Evt *script, b32 isInitialCall) |
ApiStatus | RemoveItemAt (Evt *script, b32 isInitialCall) |
ApiStatus | CloseChoicePopup (Evt *script, b32 isInitialCall) |
ApiStatus | HasItem (Evt *script, b32 isInitialCall) |
ApiStatus | FindItem (Evt *script, b32 isInitialCall) |
ApiStatus | AddItem (Evt *script, b32 isInitialCall) |
ApiStatus | RemoveItem (Evt *script, b32 isInitialCall) |
ApiStatus | MakeItemEntity (Evt *script, b32 isInitialCall) |
ApiStatus | DropItemEntity (Evt *script, b32 isInitialCall) |
ApiStatus | DropResizableItemEntity (Evt *script, b32 isInitialCall) |
ApiStatus | RemoveItemEntity (Evt *script, b32 isInitialCall) |
ApiStatus | SetItemPos (Evt *script, b32 isInitialCall) |
ApiStatus | SetItemFlags (Evt *script, b32 isInitialCall) |
ApiStatus | SetItemAlpha (Evt *script, b32 isInitialCall) |
ApiStatus | AddCoin (Evt *script, b32 isInitialCall) |
ApiStatus | AddStarPoints (Evt *script, b32 isInitialCall) |
ApiStatus | AddStarPieces (Evt *script, b32 isInitialCall) |
ApiStatus | GetItemPower (Evt *script, b32 isInitialCall) |
ApiStatus | ShowGotItem (Evt *script, b32 isInitialCall) |
Effect | |
ApiStatus | ShowStartRecoveryShimmer (Evt *script, b32 isInitialCall) |
ApiStatus | ShowRecoveryShimmer (Evt *script, b32 isInitialCall) |
ApiStatus | func_802D7690 (Evt *script, b32 isInitialCall) |
ApiStatus | ShowEmote (Evt *script, b32 isInitialCall) |
ApiStatus | RemoveEffect (Evt *script, b32 isInitialCall) |
ApiStatus | DismissEffect (Evt *script, b32 isInitialCall) |
ApiStatus | DismissItemOutline (Evt *script, b32 isInitialCall) |
ApiStatus | func_802D7B74 (Evt *script, b32 isInitialCall) |
ApiStatus | InterpMotionBlurParams (Evt *script, b32 isInitialCall) |
ApiStatus | SetMotionBlurParams (Evt *script, b32 isInitialCall) |
ApiStatus | ShowSweat (Evt *script, b32 isInitialCall) |
ApiStatus | ShowSleepBubble (Evt *script, b32 isInitialCall) |
ApiStatus | SetSleepBubbleTimeLeft (Evt *script, b32 isInitialCall) |
ApiStatus | PlayEffect_impl (Evt *script, b32 isInitialCall) |
Entity | |
ApiStatus | MakeEntity (Evt *script, b32 isInitialCall) |
Creates an entity. | |
ApiStatus | SetEntityCullMode (Evt *script, b32 isInitialCall) |
ApiStatus | UseDynamicShadow (Evt *script, b32 isInitialCall) |
ApiStatus | AssignScript (Evt *script, b32 isInitialCall) |
ApiStatus | AssignSwitchFlag (Evt *script, b32 isInitialCall) |
ApiStatus | AssignBlockFlag (Evt *script, b32 isInitialCall) |
ApiStatus | AssignChestFlag (Evt *script, b32 isInitialCall) |
ApiStatus | AssignPanelFlag (Evt *script, b32 isInitialCall) |
ApiStatus | AssignCrateFlag (Evt *script, b32 isInitialCall) |
ApiStatus | DeleteTrigger (Evt *script, b32 isInitialCall) |
Removes a trigger previously bound with BindTrigger. | |
Sprite shading | |
ApiStatus | SetSpriteShading (Evt *script, b32 isInitialCall) |
ApiStatus | EnableSpriteShading (Evt *script, b32 isInitialCall) |
Demo | |
ApiStatus | GetDemoState (Evt *script, b32 isInitialCall) |
ApiStatus | DemoPressButton (Evt *script, b32 isInitialCall) |
ApiStatus | DemoReleaseButton (Evt *script, b32 isInitialCall) |
ApiStatus | DemoSetButtons (Evt *script, b32 isInitialCall) |
ApiStatus | DemoJoystickRadial (Evt *script, b32 isInitialCall) |
ApiStatus | DemoJoystickXY (Evt *script, b32 isInitialCall) |
Variables | |
EvtScript | EnemyNpcHit |
EvtScript | EnemyNpcDefeat |
Translates the given model's position.
modelID | |
x | |
y | |
z |
Rotates the model the given amount on the selected axis.
modelID | |
angle | |
x | Whether to rotate on X axis |
y | Whether to rotate on Y axis |
z | Whether to rotate on Z axis |
Scales the model the given amount along the selected axis.
modelID | |
angle | |
x | Whether to scale on X axis |
y | Whether to scale on Y axis |
z | Whether to scale on Z axis |
Returns the given model's index.
modelID | @vars {out | LVar0 | Returns the index of the model. } |
Clones the given model.
modelID | |
newModelID |
Sets a model's pannerID and sets the texture pan flag.
modelID | |
panID |
modelID | |
customGfxIndex | -1 for no change |
fogType | -1 for no change |
Enables or disables texture panning on the given model.
modelID | |
bool |
Enables or disables the given model.
modelID | |
bool |
Enables or disables the given group.
modelID | |
mode | "0 = disabled, 1 = enabled, 2 = all others disabled, 3 = all others enabled" |
Sets offsets for texture panners.
panID | |
tile | "0 = main | 1 = aux" |
offsetU | |
offsetV |
Sets flags for models.
modelID | |
flagbits | |
bool | 1 = set, 0 = clear |
Translates the given group's position.
modelID | |
x | |
y | |
z |
Rotates the given group's position.
modelID | |
angle | |
x | Whether to rotate on X axis |
y | Whether to rotate on Y axis |
z | Whether to rotate on Z axis |
Scales the given group's position.
modelID | |
angle | |
x | Whether to scale on X axis |
y | Whether to scale on Y axis |
z | Whether to scale on Z axis |
Enables or disables the given group.
modelID | |
bool |
copyIndex | |
modelID | |
bool | "0 = clear, 1 = get" |
Set flags for collider + siblings + children.
mode | 0 = set bits, 1 = clear bits, 2 = replace, 3 = replace lowest 16 bits |
colliderID | |
flags |
Associates a model with a collider and applies the model's transformation.
colliderID | |
modelID |
Applies transformation from parent model.
colliderID |
Enables or disables the given zone.
zoneID | |
bool |
Makes the player go to the given map and at the given entrance.
mapName | |
entryID |
Makes the player go to the given map and at the given entrance with a unique fadeout effect.
mapName | |
entryID | |
transitionType |
Returns the entryID of the Entry that the player entered the map from.
@vars {out | LVar0 int entryID }
Returns the mapID of the map the player is currently on.
@vars {out | LVar0 int mapID }
Returns the way the player loaded into the map, commonly used by to put the player in the correct position for save blocks.
@vars {out | LVar0 int LoadType }
Plays the given sound at the given model.
modelID | |
soundID | |
SoundSpatializationFlags |
Plays the given sound at the given collider.
colliderID | |
soundID | |
SoundSpatializationFlags |
Hides the player's shadow if hide
is TRUE
, shows it if FALSE
.
hide | Whether to hide the player's shadow. |
Disables player physics if disable
is TRUE
, enables it if FALSE
.
disable | Whether to disable player physics. |
Disables player and partner input, and disables the status menu.
disable | Whether to disable player input. |
Overrides the player collision size.
height | |
diameter |
Sets the move speed of the player for subequent PlayerMoveTo calls.
speed | Float multiplier. |
Enables switching to the given partner.
partnerID | The partner id to enable. |
Disables switching to the given partner.
partnerID | The partner id to disable. |
Enables and disables the 8-bit Mario easter egg.
disable | Disable the easter egg if TRUE , enable it if FALSE . |
Whilst active, the player uses a retro sprite, and the following actions are disabled:
Referenced by make_vine_interpolation().
Referenced by make_vine_interpolation().
Referenced by check_for_item_collision().
Creates an entity.
blueprint | Pointer to EntityBlueprint to use. |
x | |
y | |
z | |
flags | EntityFlags |
... | Varargs. |
MAKE_ENTITY_END | Terminates the varargs. |
[out ] | LVar0 | Created entity's ID. |
Removes a trigger previously bound with BindTrigger.
triggerPtr |
|
extern |
Definition at line 131 of file encounter.c.
|
extern |
Definition at line 158 of file encounter.c.