2025-05-23 11:50:05 -04:00
|
|
|
### Function: SetMountColor(spawn, red, green, blue, red, green, blue)
|
2025-05-04 14:34:15 -04:00
|
|
|
|
|
|
|
|
**Description:**
|
2025-05-23 11:50:05 -04:00
|
|
|
Sets the mount's colors for the Spawn specified.
|
2025-05-04 14:34:15 -04:00
|
|
|
|
|
|
|
|
**Parameters:**
|
2025-05-23 11:50:05 -04:00
|
|
|
- `spawn` (Spawn) - Spawn object representing `spawn`.
|
|
|
|
|
- `red` (int32) - Integer value `red`.
|
|
|
|
|
- `green` (int32) - Integer value `green`.
|
|
|
|
|
- `blue` (int32) - Integer value `blue`.
|
|
|
|
|
- `red` (int32) - Integer value `red`.
|
|
|
|
|
- `green` (int32) - Integer value `green`.
|
|
|
|
|
- `blue` (int32) - Integer value `blue`.
|
2025-05-04 14:34:15 -04:00
|
|
|
|
|
|
|
|
**Returns:** None.
|
|
|
|
|
|
|
|
|
|
**Example:**
|
|
|
|
|
|
|
|
|
|
```lua
|
2025-05-23 11:50:05 -04:00
|
|
|
-- 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
|
2025-05-04 14:34:15 -04:00
|
|
|
```
|