Jump to content

Adding Options To a message box HELP


Osheanity

Recommended Posts

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 Count

ObjectReference Property TeleportMarker Auto

Event OnActivate (ObjectReference AKActionRef)

Count = Count + 1

If Count== 1

Debug.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 by Osheanity
Link to comment
Share on other sites

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 Auto

Message Property YourMessageMSG Auto

Int Count

Event OnActivate (ObjectReference AKActionRef)

Count = Count + 1

If Count== 1

YourMessageMSG . Show ()

ElseIf count == 2

Game.Getplayer().MoveTo(TeleportMarker)

 

EndIf

EndEvent

what I want to do now is find out how I can get the buttons to work and if my script is done correctly.

 

Edited by Osheanity
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...