mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
761 B
761 B
Function: SetMountColor(spawn, red, green, blue, red, green, blue)
Description: Sets the mount's colors for the Spawn specified.
Parameters:
spawn(Spawn) - Spawn object representingspawn.red(int32) - Integer valuered.green(int32) - Integer valuegreen.blue(int32) - Integer valueblue.red(int32) - Integer valuered.green(int32) - Integer valuegreen.blue(int32) - Integer valueblue.
Returns: None.
Example:
-- From SpawnScripts/BeggarsCourt/AdjunctCaptainRommuls.lua
function spawn(NPC)
SetMount(NPC, 6831)
SetMountColor(NPC, 1, 1, 1, 255, 1, 1)
MoveToLocation(NPC, -8.13, 4.00, -42.68, 3, "", true)
MoveToLocation(NPC, -14.43, 3.57, -27.02, 3, "", false)
end