You are viewing an old version of this page. Return to the latest version.
Version of 15:21, 11 February 2021 by Vlash Nytefall
No categories assigned
LUAAddMasterTitle
- Last edited 4 years ago by Vlash Nytefall
LUA:AllFunctions - AddMasterTitle
Return to: LUA:AllFunctions | Tutorials | Portal | Forum | Project Manager | Bug Tracker
Creates a new title that can be used by all characters
Syntax
AddMasterTitle(param1, param2)
Parameters
- Required - param1 (string), param2 (int8)
- param1 is the title name to create
- param2 sets if the title is a prefix or suffix
Example
function hailed(NPC, Spawn)
AddMasterTitle ("Antonica Guru" 0)
end
a NPC with this function will create a suffix title Antonica Guru that can be given to players or other NPC's
Notes
This sores not assign the title, just creates it in the database.
0 = suffix 1 = prefix