TrueSaiko Posted August 6, 2014 Share Posted August 6, 2014 So.... I made an activator, and I would like to script it to activate things.... For an example, I will use lights. I would like to click on the activator, and have a menu popup (i can make the required messages and checks) saying it is broken... you can fix it with parts, or repair skill, and such... and when fixed, i want the lights in the room to come on... and i want the activator to no longer be clickable... Could i get some instruction/examples for the required script please? Thanks in advance :) I am a pretty quick learner, and am willing to test and fiddle... so if i can get the base script and a few answered questions, i can reuse said script for multiple situations Link to comment Share on other sites More sharing options...
nerdcav Posted August 6, 2014 Share Posted August 6, 2014 Here's an example script from the GECK site: ScriptName LightSwitchScript ref light Begin OnActivate if light == 0 set light to GetLinkedRef endif if light.GetDisabled light.Enable else light.Disable endif Activate End Link to comment Share on other sites More sharing options...
TrueSaiko Posted August 6, 2014 Author Share Posted August 6, 2014 oh, thanks.... i think i can work with that, and try to add in message for repairs first.. and will look at the geck site, too.... thanks :) Link to comment Share on other sites More sharing options...
Recommended Posts