Enter Skyrim

Enter Skyrim
Skyrim Mages College

Tuesday, June 6, 2017

Mark or Recall Script for Skyrim



Mark or Recall Script: (Skyrim):

ObjectReference Property Marker Auto ; initial location in tamriel where spell is purchased

Actor Property Caster Auto
Message Property A1 Auto

Event OnEffectStart(Actor akTarget, Actor akCaster)

Caster =(Game.GetPlayer())
Int iButton = A1.Show()

if iButton == 0 ; move marker 1 to player MARK

Marker.MoveTo(Caster)

elseif iButton == 1 ; move player to marker RECALL
Caster.MoveTo(Marker)

elseif iButton == 2 ; nothing

endif
endEvent

- I tested this in a mod and it works.  On Properties - check the cell where the X-marker is initially, and the Message-Box. 

M7 2017.


No comments:

Post a Comment