enderalse/source/scripts/_00e_ability_livingnightmarescript.psc

26 lines
469 B
Plaintext
Raw Normal View History

Scriptname _00E_Ability_LivingNightmareScript extends ObjectReference
ObjectReference Property DNimbusVisualFX AUto
int doOnce
Event OnActivate(ObjectReference akActivator)
if (akActivator == Game.GetPlayer())
if doOnce == 0
DNimbusVisualFX.PlayAnimation("PlayAnim02")
Debug.Notification("Enabling")
doOnce = 1
elseif doOnce == 1
DNimbusVisualFX.PlayAnimation("PlayAnim01")
Debug.Notification("Disabling")
doOnce = 0
endif
endif
EndEvent