GetHorseSoul
The soul GUID a horse key stands for - the Horse archetype only.
Syntax
Section titled “Syntax”GetHorseSoul(key)| Parameter | Type | |
|---|---|---|
key |
string | number | a soul’s name (Horse2, Pebbles), id or GUID |
Returns
Section titled “Returns”string - the soul GUID; nil when the key is not a horse soul
Example
Section titled “Example”local soul = GetHorseSoul(args)if not soul then SendClientMessage(pid, COLOUR_RED, "no such breed; try /horses <name>") return true endCreateHorse(x, y, z, yaw, pid, nil, soul)See also
Section titled “See also”GetSoulInfo · FindSouls · CreateHorse · the Catalogues group of the index
