2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_Phasmalist_ApparationToPlayer extends activemagiceffect
|
|
|
|
|
|
|
|
_FS_Phasmalist_ControlQuest Property controlQuest auto
|
|
|
|
Message Property _00E_Phasmalist_Tutorial_Teleport Auto
|
|
|
|
Message Property _00E_Phasmalist_NoApparitionCurrentlySummoned Auto
|
|
|
|
GlobalVariable Property _00E_Phasmalist_TeleportTutorialShown Auto
|
|
|
|
GlobalVariable Property _00E_DisableSkillTutorials Auto
|
2021-10-05 22:59:59 +00:00
|
|
|
GlobalVariable Property _00E_Phasmalist_TankMode Auto
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
2021-10-05 22:59:59 +00:00
|
|
|
If _00E_Phasmalist_TeleportTutorialShown.GetValueInt() == 0 && _00E_DisableSkillTutorials.GetValueInt() == 0
|
2021-10-05 22:15:58 +00:00
|
|
|
_00E_Phasmalist_TeleportTutorialShown.SetValueInt(1)
|
|
|
|
_00E_Phasmalist_Tutorial_Teleport.ShowAsHelpMessage("Jump", 5, 1, 1)
|
2021-10-05 22:59:59 +00:00
|
|
|
EndIf
|
|
|
|
|
|
|
|
If controlQuest.IsApparitionSpawned() == False || _00E_Phasmalist_TankMode.GetValue() != 0
|
2021-10-05 22:15:58 +00:00
|
|
|
_00E_Phasmalist_NoApparitionCurrentlySummoned.Show()
|
2021-10-05 22:59:59 +00:00
|
|
|
Else
|
|
|
|
controlQuest.TeleportApparitionToPlayer(True)
|
2021-10-05 22:15:58 +00:00
|
|
|
EndIf
|
2021-10-05 22:59:59 +00:00
|
|
|
EndEvent
|