kkirspel Posted May 29, 2011 Share Posted May 29, 2011 I've been adding content into the Freeside area lately and I now want to add another water source for Tapper (the King thug) to guard. I wanted to add something similar to the Goodsprings Source water troughs, which are made with placeable water. Is there a way to script it to where he'll guard both water sources (the existing pipe of water and the new water trough)? I'm a pretty decent programmer but I'm just now trying to learn the scripting process - attaching scripts, overriding and saving existing scripts, etc.; I understand the coding side, I just don't know how to set it all up. Thanks for any help in advance. Link to comment Share on other sites More sharing options...
kkirspel Posted May 31, 2011 Author Share Posted May 31, 2011 (edited) After messing around with it some more and looking at how the devs set it up, I think I just need to be able to set the placeable water to the Kings faction via script (this is already done to the pipe of water if you haven't paid or finished the appropriate quest). I'm trying to piggy back off the water pipe's attached script:While it runs the conditional IF statement, where it concludes to set the water pipe to the Kings faction (you haven't paid/completed quest), I've just added one extra line below that to set the placeable water to the Kings faction as well. I'm not entirely sure this should solve everything, but if I'm right it should make the "Drink" option, when looking at the water, turn red - just like the water pipe's "Drink" option does. (this is assuming placeable water can even have a faction that is)I'm also not really sure I'm doing everything I should; is there any more I need to do after I save and compile all the scripts? Should't there be a way to compile/recompile just the one script? Edited May 31, 2011 by kkirspel Link to comment Share on other sites More sharing options...
Recommended Posts