1
0
EQ2Emu/docs/lua_functions/AddCharacterTitle.md
2025-05-06 12:21:14 -04:00

18 lines
451 B
Markdown

### Function: AddCharacterTitle(Spawn, TitleName)
**Description:**
Provides the Spawn (Player Character) a new title they can apply from their Profile.
**Parameters:**
- `Player`: Spawn - The Spawn (Player only) to provide the new title.
- `TitleName`: String - Title to set to the Spawn.
**Returns:** SInt32 -1 if invalid, otherwise provides Title database ID.
**Example:**
```lua
-- Example usage
AddCharacterTitle(Player, "My New Title!")
```