Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
945 B
21 lines
945 B
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
|
|
GlobalVariable Property _00E_Phasmalist_TankMode Auto
|
|
|
|
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
|
If _00E_Phasmalist_TeleportTutorialShown.GetValueInt() == 0 && _00E_DisableSkillTutorials.GetValueInt() == 0
|
|
_00E_Phasmalist_TeleportTutorialShown.SetValueInt(1)
|
|
_00E_Phasmalist_Tutorial_Teleport.ShowAsHelpMessage("Jump", 5, 1, 1)
|
|
EndIf
|
|
|
|
If controlQuest.IsApparitionSpawned() == False || _00E_Phasmalist_TankMode.GetValue() != 0
|
|
_00E_Phasmalist_NoApparitionCurrentlySummoned.Show()
|
|
Else
|
|
controlQuest.TeleportApparitionToPlayer(True)
|
|
EndIf
|
|
EndEvent
|
|
|