Deleted2746547User Posted October 31, 2015 Share Posted October 31, 2015 What am I doing wrong? The message on the activator shows the top two lines of the message itself. But that's it. Shows none of the options... and I can't escape from that screen.BlackbriarBHChipVendorScript short Buttonshort PlayerChipAmount begin OnActivate if IsActionRef player == 1ShowMessage BlackbriarBHChipsMessage1endif end BEGIN MenuMode 1001 set Button to GetButtonPressed if ( Button == 0 )player.additem BlackbriarBHChip 10player.RemoveItem caps001 10elseif ( Button == 1 )player.additem BlackbriarBHChip 50player.RemoveItem caps001 50elseif ( Button == 2 )player.additem BlackbriarBHChip 250player.RemoveItem caps001 250elseif ( Button == 3 )player.additem BlackbriarBHChip 1000player.RemoveItem caps001 1000elseif ( Button == 4 )player.additem BlackbriarBHChip 5000player.RemoveItem caps001 5000elseif ( Button == 5 )set PlayerChipAmount to player.GetItemCount BlackbriarBHChip player.RemoveItem BlackbriarBHChip PlayerChipAmountplayer.AddItem caps001 PlayerChipAmountelseif ( Button == 6 )ShowMessage BlackbriarCanceltransactionMSGendifendif END Link to comment Share on other sites More sharing options...
GePalladium Posted November 1, 2015 Share Posted November 1, 2015 Begin Gamemode Set Button to GetButtonPressed If Button == -1 return elseif Button == 0 player.additem BlackbriarBHChip 10 player.RemoveItem caps001 10 return elseif Button == 1 player.additem BlackbriarBHChip 250 player.RemoveItem caps001 250 return ;etc endif end Link to comment Share on other sites More sharing options...
Deleted2746547User Posted November 5, 2015 Author Share Posted November 5, 2015 Thank you! Link to comment Share on other sites More sharing options...
Deleted2746547User Posted November 5, 2015 Author Share Posted November 5, 2015 Begin Gamemode Set Button to GetButtonPressed If Button == -1 return elseif Button == 0 player.additem BlackbriarBHChip 10 player.RemoveItem caps001 10 return elseif Button == 1 player.additem BlackbriarBHChip 250 player.RemoveItem caps001 250 return ;etc endif endTHQuestion for you.... just in case you have a suggestion. Working on a script that autotransfers any item you loot from a dead body, container or just lying around to a companion's inventory. I keep getting an error on the script I'm trying to use... which is a modified version of a weapon script that disables and deletes dead bodies,.... any suggestions. Thanks again by the way! Link to comment Share on other sites More sharing options...
Recommended Posts