Falloutfxer Posted April 8, 2016 Share Posted April 8, 2016 My activator uses this script, but when I click the button in the message, nothing happens. Can anyone see why? scn vMojaveExoressTravelActivatorSCRIPT int iButton begin onActivateif This == vMEActivatorGoodspringsRefshowmessage vMojaveExpressTravellingMessageGoodspringsendifend begin GameModeset iButton to GetButtonPressedif iButton == 1showMessage BigSalDeadendifend Link to comment Share on other sites More sharing options...
sullyvanj93 Posted April 9, 2016 Share Posted April 9, 2016 are you using geck PU? I highly suggest it. if something is mistyped (like a REF it cant find, wrong script/quest variable, etc) it will tell you the line it has an issue with. Much easier to correct issues. I'm not seeing any issues at a glance, but that doesnt mean it's finding everything it feels it needs to. Link to comment Share on other sites More sharing options...
Jokerine Posted April 9, 2016 Share Posted April 9, 2016 Did you try with GetSelf instead of This, just to see if it would work that way? Link to comment Share on other sites More sharing options...
Ladez Posted April 9, 2016 Share Posted April 9, 2016 For starters, posting the script in code tags (this button: http://forums.nexusmods.com/public/js/3rd_party/ckeditor/plugins/ipscode/images/code.png) with indentation would be a help. :smile: As for your issue, is the button index in your script mapped correctly to the index of the button you're pressing? Remember that the button indices are zero-based; first button have an index of 0, etc. Link to comment Share on other sites More sharing options...
Falloutfxer Posted April 18, 2016 Author Share Posted April 18, 2016 The index order is correct, I still haven't found out what's wrong, but I've given up trying to make the ME Boxes travel Points anyway and will instead place a ham radio in the vicinity of each one which will then have travelling scripts. Link to comment Share on other sites More sharing options...
Ladez Posted April 18, 2016 Share Posted April 18, 2016 Well, I've just tested the script and it worked without issue, so not sure what the problem could be. But I guess it doesn't matter if you've moved on. Link to comment Share on other sites More sharing options...
Recommended Posts