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

Description

Wiki Description

Obtains the alias with the specified name that is attached to this quest. This is the name appearing in the Alias Name field of the Reference Alias form.

Documentation Comment

returns the alias associated with the quest by name


Parameters

  1. 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.