Category:NPC Functions: Difference between revisions

From Wiki G1R-MP G1 Remake Multiplayer
Jump to navigation Jump to search
Document new NPC/player-mode API and events available from 0.1.5
Document new NPC/player-mode API and events available from 0.1.5
 
Line 8: Line 8:
See [[NPC scripting]] for optional combat, animations, health, spells, ammunition, pursuit, facing and perception. [[Update 0.1.5]] lists all new API and events.
See [[NPC scripting]] for optional combat, animations, health, spells, ammunition, pursuit, facing and perception. [[Update 0.1.5]] lists all new API and events.
<!-- npc015:end -->
<!-- npc015:end -->
<!-- npc-appearance015:start -->
== Appearance since 0.1.5 ==
* [[setNpcIdentity]] — Selects the matched head/identity profile of an NPC.
* [[getNpcIdentity]] — Reads the authoritative NPC identity selection.
* [[getNpcIdentityNames]] — Lists named identity keys supported by the NPC API.
* [[setNpcSkinColor]] — Sets an independent NPC skin-color override.
* [[getNpcSkinColor]] — Reads the NPC skin-color override.
* [[resetNpcSkinColor]] — Restores inherited NPC skin color.
* [[setNpcTattoo]] — Sets an independent NPC tattoo override.
* [[getNpcTattoo]] — Reads the NPC tattoo override.
* [[resetNpcTattoo]] — Restores inherited NPC tattoo materials.
* [[getNpcTattooNames]] — Lists the fixed NPC tattoo preset catalog.
<!-- npc-appearance015:end -->

Latest revision as of 17:37, 25 September 2026

Server-side functions for resource-owned human NPC placement, appearance, equipment, routes, and pause state.

Additions since 0.1.5

See NPC scripting for optional combat, animations, health, spells, ammunition, pursuit, facing and perception. Update 0.1.5 lists all new API and events.

Appearance since 0.1.5