pra Posted August 12, 2017 Share Posted August 12, 2017 (edited) I'm trying to change a workshop object's power requirement. ref.setActorValue seems to work, but the "powered" state doesn't update, unless I disconnect and reconnect a wire to it manually.How can I force the object to update it's powered state? It has to be possible, SimSettlements does it all the time. Edited August 12, 2017 by pra Link to comment Share on other sites More sharing options...
JagMaker Posted August 13, 2017 Share Posted August 13, 2017 (edited) add 'PowerGenerated' '0.1' keyword to ur objectthis way object will become power generator, and will generate power for itself edit: 0.1 it's a generated power (if u set it 1 or more - it will be visible at workshop menu ;) Edited August 13, 2017 by JagMaker Link to comment Share on other sites More sharing options...
pra Posted August 16, 2017 Author Share Posted August 16, 2017 I don't think you understood what I meant. On the other hand, I'm not fully understanding what you wrote either. What I was trying to do was to change an object's power requirement per script. That part works fine. Unfortunately, I found no way to update the power grid afterwards. What I did instead was asking to player to "cycle power" to the object, and changing the PowerRequired AV in the onPowerOff event. Link to comment Share on other sites More sharing options...
deadbeeftffn Posted August 16, 2017 Share Posted August 16, 2017 Never used it myself, but maybe this is what you need: https://www.creationkit.com/fallout4/index.php?title=RecalculateResources_-_ObjectReference Link to comment Share on other sites More sharing options...
Recommended Posts