22 lines
615 B
Plaintext
22 lines
615 B
Plaintext
Scriptname _00E_Ark_NQ_TeleportDunevilleScript extends activemagiceffect
|
|
{Returns to the graveyard of Duneville and resets the time-scale}
|
|
|
|
Actor Property PlayerREF Auto
|
|
EffectShader Property TeleportVFXDisappear Auto
|
|
EffectShader Property TeleportVFXAppear Auto
|
|
Sound Property Teleport Auto
|
|
ObjectReference Property TeleportMarker Auto
|
|
GlobalVariable Property Timescale Auto
|
|
|
|
Event OnEffectStart (Actor akTarket, Actor akCaster)
|
|
|
|
Timescale.SetValue(4)
|
|
;TeleportVFXDisappear.Play(akCaster)
|
|
Teleport.Play(akCaster)
|
|
Utility.Wait(1.2)
|
|
PlayerREF.MoveTo(TeleportMarker)
|
|
;TeleportVFXDisappear.Stop(akCaster)
|
|
|
|
EndEvent
|
|
|