Background for Skyrim SE
Member of the Quest script
AliasfunctionGetAliasByName(stringname)Native

[DEV SERVER] Loading description...


Caveats


Parameters

stringname

CK Wiki Description

The Alias Name of the desired Alias.


Examples

; given a series of references named Ref1, Ref2.. RefN, find the first unfilled reference
ReferenceAlias function findEmptyRef()
    int ndx = 0
    ReferenceAlias ref

    while true
        ndx += 1
        ref = memberQuest.getAliasByName("Ref"+ndx) as ReferenceAlias
        if !ref || !ref.getReference() 
            return ref ; returns the open reference or none
        endif
    endwhile
endfunction

Auto-Generated Example

string myString__name

Alias returnedValue = myQuest__toCallFunctionOn.GetAliasByName(myString__name)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.