Difference between revisions of "LUA:CopySpawnAppearance"
(Created page with "= LUA Functions: CopySpawnAppearance() = Copies the appearance details from one spawn to another. ==== Syntax ==== CopySpawnAppearance(param1, param2) ==== Parameters ==== ; ...") |
(No difference)
|
Latest revision as of 20:51, 17 March 2014
LUA Functions: CopySpawnAppearance()
Copies the appearance details from one spawn to another.
Syntax
CopySpawnAppearance(param1, param2)
Parameters
- Required - param1 (Spawn), param2 (Spawn)
- param1 is the spawn we want to copy this appearance to
- param2 is the spawn we are copying the appearance from
Usage
function hailed(Spawn, Target)
CopySpawnAppearance(Spawn, Target)
end
When this NPC is hailed the appearance from the hailing player will be copied to the NPC.