Difference between revisions of "Complete Example Scripts"

Jump to navigation Jump to search
29 bytes added ,  09:28, 9 December 2014
m
imported>Langerz82
imported>Terra Nova2
Line 842: Line 842:
; Can optionally have them enable on a specific quest stage of a quest that is different from the alias' parent quest. Requires that abSpecificQuest is set to the true.
; Can optionally have them enable on a specific quest stage of a quest that is different from the alias' parent quest. Requires that abSpecificQuest is set to the true.


int i = 0
int i = 0
int MyArrayLength = myAliasArray.length
 
if abSpecifyQuest == false
if abSpecifyQuest == false
While i < myAliasArray.length
While i < myArraylength
myAliasArray[i].GetReference().Enable()
myAliasArray[i].GetReference().Enable()
i += 1
i += 1
Line 852: Line 854:
else
else
if (akQuest.GetCurrentStageID() == aiStage)
if (akQuest.GetCurrentStageID() == aiStage)
    While i < myAliasArray.length
    While i < myArraylength
        myAliasArray[i].GetReference().Enable()
        myAliasArray[i].GetReference().Enable()
        i +=1
        i +=1
Line 860: Line 862:
EndFunction
EndFunction
</source>
</source>
=Resurrect an Enemy on Death Script=
=Resurrect an Enemy on Death Script=
Created by [http://www.nexusmods.com/skyrim/users/6211524/? DarkWolfModding].
Created by [http://www.nexusmods.com/skyrim/users/6211524/? DarkWolfModding].
Anonymous user

Navigation menu