GetAlias - Quest
Jump to navigation
Jump to search
Member of: Quest Script
Obtains the alias with the specified ID that is attached to this quest.
Syntax[edit | edit source]
Alias Function GetAlias(int iAliasID) native
Parameters[edit | edit source]
- iAliasID: The ID number of the alias to retrieve.
Return Value[edit | edit source]
The Alias associated with the passed in ID, or None if the ID is invalid.
Examples[edit | edit source]
; Get alias 1 on the quest
Alias myAlias = SuperQuest.GetAlias(1)
Note[edit | edit source]
The alias ID number is not something that is easily visible in the editor, it's much more consistent and reliable to set up a property for the alias you want and fill it in the editor properties window.