GetAlias - Quest

From Creation Kit
Jump to: navigation, search

Member of: Quest Script

Obtains the alias with the specified ID that is attached to this quest.

Syntax

Alias Function GetAlias(int iAliasID) native

Parameters

  • iAliasID: The ID number of the alias to retrieve.

Return Value

The Alias associated with the passed in ID, or None if the ID is invalid.

Examples

; Get alias 1 on the quest
Alias myAlias = SuperQuest.GetAlias(1)

Note

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.

See Also