Identifier¶
An identifier for a gameplay or community component is a character string that functions as a unique marker, allowing users to manipulate the component.
Gameplay component identifiers¶
Here are the identifiers for all gameplay components:
GameplayComponent = {}
GameplayComponent.Audio = "_builtin_Audio@2.0.3"
GameplayComponent.Rotate = "_builtin_rotation@3.0.0"
GameplayComponent.Revolve = "_builtin_revolve@3.0.0"
GameplayComponent.Move = "_builtin_move@3.0.0"
GameplayComponent.React = "_builtin_forceMove@2.0.0"
GameplayComponent.RespawnPoint = "_builtin_spawnPoint@1.0.0"
GameplayComponent.TeleportPoint = "_builtin_teleportPoint@1.0.0"
GameplayComponent.ItemDrop = "_builtin_Dropper@4.0.0"
GameplayComponent.NPC = "_builtin_NPC@1.0.1"
GameplayComponent.Behaviour = "_builtin_NpcBehaviour@1.0.1"
GameplayComponent.Attack = "_builtin_NPCCombat@1.0.1"
GameplayComponent.Quest = "_builtin_quest@2.0.1"
GameplayComponent.Dialogue = "_builtin_dialog@2.0.1"
GameplayComponent.Trigger = "_builtin_Trigger@3.0.0"
GameplayComponent.Rigidbody = "_builtin_DynamicsPhysicsObject@1.0.0"
GameplayComponent.PhysicsMaterial = "_builtin_PhysicMaterial@1.0.0"
Community component identifiers¶
An identifier for a community component is the name of its XML file, which can be located in the following path:
on Windows: C:\Users\%username%\AppData\LocalLow\yahaha\YahahaStudio\luapackages
on Mac: /Users/%username%/Library/Application Support/Yahaha/YahahaStudio/luapackages
Examples of community components' identifiers: