GetNthAlias - Quest
Revision as of 17:31, 24 November 2013 by imported>Jbezorg (Created page with "Assuming the code below is a quest script getting it's own aliases. <source lang="papyrus"> int idx = self.GetNumAliases() while idx > 0 idx -= 1 Alias nthAlias = in.GetNth...")
Assuming the code below is a quest script getting it's own aliases.
int idx = self.GetNumAliases()
while idx > 0
idx -= 1
Alias nthAlias = in.GetNthAlias(idx) as Alias
; LocationAlias or ReferenceAlias
if nthAlias
; do stuff
endIf
endWhile