MadTod Posted April 9, 2014 Share Posted April 9, 2014 It has been some time since modding Fallout New Vegas and I seem to have forgotten how to use an Activator to enable and disable a static object. I'm trying to make a shower for my player house and I'm trying to use the Water Valve Activator and use that the turn the water on/off (FXWaterLeak01). Any help would be very much appreciated, thanks. Link to comment Share on other sites More sharing options...
TrickyVein Posted April 9, 2014 Share Posted April 9, 2014 ref myrefshort bOn on activate set myref to getlinkedref if bOn == 0myref.enableset bOn to 1elseif bOn == 1myref.disableset bOn to 0endif Link to comment Share on other sites More sharing options...
MadTod Posted April 10, 2014 Author Share Posted April 10, 2014 It won't let me save the script, also I guess I have to change the "myref" to what ever the reference ID for the FXWaterLeak01 is. Link to comment Share on other sites More sharing options...
AxlDave Posted April 14, 2014 Share Posted April 14, 2014 If you flat out copy and pasted the above script, then it won't save because there are no valid BEGIN and END functions. MyRef is merely a reference you are calling for this specific script so you can name the GetLinkedRef something. It doesn't matter if you call it MyRef, YourRef, AreYouBlindRef or SteveGuttenburg, just so long as it makes sense to you. Link to comment Share on other sites More sharing options...
Recommended Posts