1
0
EQ2Emu/docs/lua_functions/CopySpawnAppearance.md
2025-05-28 21:48:33 -04:00

552 B
Raw Blame History

Function: CopySpawnAppearance(SourceSpawn, TargetSpawn)

Description: Copies the appearance (race, gender, outfit, etc.) from one spawn to another. This effectively makes the target look identical to the source. Often used for illusion or clone effects.

Parameters:

SourceSpawn: Spawn The entity whose appearance to copy. TargetSpawn: Spawn The entity that will receive the appearance.

Returns: None.

Example:

-- Example usage (make a decoy NPC look like the player)
CopySpawnAppearance(Player, DecoyNPC)