Osheanity Posted July 30, 2012 Share Posted July 30, 2012 (edited) Okay, I'm a beginning modder and I'm stuck, I'm trying to add standing stones that when activated teleport you to another stone. what my first script looks like is this. Scriptname AAATeleportScript extends ObjectReference Int CountObjectReference Property TeleportMarker AutoEvent OnActivate (ObjectReference AKActionRef) Count = Count + 1 If Count== 1Debug.MessageBox ("You feel a warm relaxing presence as you touch the stone, but its calling out to you, asking for some Magicka.") ElseIf count == 2 Game.Getplayer().MoveTo(TeleportMarker)EndIf EndEvent Thanks for your help! http://forums.nexusmods.com/public/style_emoticons/dark/biggrin.gif Edited July 30, 2012 by Osheanity Link to comment Share on other sites More sharing options...
Osheanity Posted July 31, 2012 Author Share Posted July 31, 2012 (edited) Okay I scrapt the Debug.MessageBox and created a whole new property with buttons, what the script now looks like is this Scriptname AAATeleportScript extends ObjectReference ObjectReference Property TeleportMarker AutoMessage Property YourMessageMSG AutoInt CountEvent OnActivate (ObjectReference AKActionRef) Count = Count + 1 If Count== 1YourMessageMSG . Show () ElseIf count == 2 Game.Getplayer().MoveTo(TeleportMarker) EndIf EndEventwhat I want to do now is find out how I can get the buttons to work and if my script is done correctly. Edited July 31, 2012 by Osheanity Link to comment Share on other sites More sharing options...
Osheanity Posted July 31, 2012 Author Share Posted July 31, 2012 Never mind I was able to do the script on my own. Link to comment Share on other sites More sharing options...
Recommended Posts