mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:00:54 +01:00
22 lines
494 B
Text
22 lines
494 B
Text
Scriptname TempleBlessingScript extends ObjectReference Conditional
|
|
|
|
Spell Property TempleBlessing Auto
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
Actor actorRef = akActionRef as Actor
|
|
if SkyrimTogetherUtils.IsRemotePlayer(actorRef)
|
|
return
|
|
endif
|
|
|
|
TempleBlessing.Cast(akActionRef, akActionRef)
|
|
if akActionRef == Game.GetPlayer()
|
|
AltarRemoveMsg.Show()
|
|
BlessingMessage.Show()
|
|
endif
|
|
|
|
EndEvent
|
|
|
|
Message Property BlessingMessage Auto
|
|
|
|
Message Property AltarRemoveMsg Auto
|