enderalse/scripts/source/_00e_nicodebugscript.psc

83 lines
2.6 KiB
Plaintext
Raw Normal View History

Scriptname _00E_NicoDebugScript extends ObjectReference Conditional
Idle[] Property TestIdles Auto
Idle Property pa_1HMKillMoveBackStab Auto
Book Property _00E_MQ02YeroBook Auto
Book Property _00E_MQ11b_TargetABook Auto
Book Property _00E_MQ11b_TargetBBook Auto
Book Property _00E_MQ11b_TargetCBook Auto
MiscObject Property Gold001 Auto
_00E_QuestFunctions Property Levelsystem Auto
Potion Property TestPotion Auto
Actor Property TestAct01 Auto
Actor Property TestAct02 Auto
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnActivate(ObjectReference akActionRef)
Debug.Messagebox(pa_1HMKillMoveBackStab)
TestAct01.PlayIdleWithTarget(pa_1HMKillMoveBackStab, TestAct02)
EndEvent
;=====================================================================================
; FUNCTIONS
;=====================================================================================
Function LearnShout()
PlayerREF.AddShout(_00E_Phasmalist_A1_SummonApparationShout)
Game.UnlockWord(_00E_A3_Phasmalist_SummonApparation1)
; Game.UnlockWord(_00E_A3_Phasmalist_SummonApparation2)
; Game.UnlockWord(_00E_A3_Phasmalist_SummonApparation3)
Game.TeachWord(_00E_A3_Phasmalist_SummonApparation1)
; Game.TeachWord(_00E_A3_Phasmalist_SummonApparation2)
; Game.TeachWord(_00E_A3_Phasmalist_SummonApparation3)
PlayerREF.AddPerk(_00E_Class_Phasmalist_P04_Talent_SummonApparation)
; PlayerREF.AddPerk(_00E_Class_Phasmalist_P04_Talent_SummonApparation2)
; PlayerREF.AddPerk(_00E_Class_Phasmalist_P04_Talent_SummonApparation3)
EndFunction
Function LearnSpells()
int iIndex = _00E_Debug_SpellsToLearn.GetSize()
while iIndex >= 0
iIndex -= 1
Spell spelltoLearn = _00E_Debug_SpellsToLearn.GetAt(iIndex) as Spell
PlayerREF.AddSpell(spellToLearn)
endwhile
EndFunction
Actor Property PlayerREF Auto
Actor Property WildmageFrostcliffTavernREF Auto
Formlist Property _00E_Debug_SpellsToLearn Auto
Shout Property _00E_Phasmalist_A1_SummonApparationShout Auto
ObjectReference Property TestWallREF Auto
ObjectReference Property TestAni Auto
WordOfPower Property _00E_A3_Phasmalist_SummonApparation1 Auto
WordOfPower Property _00E_A3_Phasmalist_SummonApparation2 Auto
WordOfPower Property _00E_A3_Phasmalist_SummonApparation3 Auto
Perk Property _00E_Class_Phasmalist_P04_Talent_SummonApparation Auto
Perk Property _00E_Class_Phasmalist_P04_Talent_SummonApparation2 Auto
Perk Property _00E_Class_Phasmalist_P04_Talent_SummonApparation3 Auto