razorkid Posted November 8, 2013 Share Posted November 8, 2013 I'm trying to make an activator pop up a menu, with the ability to select where to teleport to: Scriptname teleportarnima2 extends ObjectReference Message Property Question01MSG AutoObjectReference property Dividemarker autoObjectReference property MiddleValleyMarker autoObjectReference property OutpostMarker autoObjectReference Property LowerLakemarker autoint button1Event onactivate(Objectreference akactionref) Menu()EndEventFunction Menu()button1 == Question01MSG.Show()if button1 == 0elseif button1 == 1 Game.GetPlayer().MoveTo(DivideMarker);Menu 2 section 1elseif button1 == 0 Game.GetPlayer().MoveTo(OutpostMarker);Menu 2 section 2elseif button1 == 3 Game.GetPlayer().MoveTo(Middlevalleymarker);Menu 2 section 3 There are no compilation errors, but when a click on an option, nothing happens. Any help? Link to comment Share on other sites More sharing options...
IsharaMeradin Posted November 8, 2013 Share Posted November 8, 2013 Did you fill the properties? If not, then they have no value and would do nothing. Link to comment Share on other sites More sharing options...
razorkid Posted November 8, 2013 Author Share Posted November 8, 2013 Did you fill the properties? If not, then they have no value and would do nothing. Yeah I filled the properties, the issue lies with Function Menu() When I enter int button1 = 0 Then the script works but only teleports me to ONE location. Leading me to believe that If i could change the value of the int somehow to encompass all the numbers then I could teleport to them all. But I'm not sure how to do that. Link to comment Share on other sites More sharing options...
IsharaMeradin Posted November 9, 2013 Share Posted November 9, 2013 Well the value is supposed to be changed by pressing the various options. But that's all I really know about message boxes. Link to comment Share on other sites More sharing options...
evenstargw Posted November 9, 2013 Share Posted November 9, 2013 The problem is this line I think:button1 == Question01MSG.Show() Change == for = and it should work. Link to comment Share on other sites More sharing options...
Recommended Posts