enderalse/source/scripts/_00e_ability_unleashfirelevel01script.psc

32 lines
1.2 KiB
Plaintext

Scriptname _00E_Ability_UnleashFireLevel01Script extends activemagiceffect
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnEffectStart(Actor akTarget, Actor akCaster)
objTranslateMarker = PlayerREF.PlaceAtMe(XMarker)
objTranslateMarker.MoveTo(PlayerRef, (300.0 * Math.Sin(PlayerRef.GetAngleZ())), (300.0 * Math.Cos(PlayerRef.GetAngleZ())), PlayerRef.GetPositionZ())
PlayerREF.TranslateToREF(objTranslateMarker, 1000.0, 1000.0)
EndEvent
;=====================================================================================
; FUNCTIONS
;=====================================================================================
;=====================================================================================
; PROPERTIES
;=====================================================================================
ObjectReference objTranslateMarker
Static Property XMarker Auto
Actor Property PlayerREF Auto