LUPO_ 10 Posted September 16, 2011 Hi I've a problem with an addon.Hope someone can help what I have: unit X has action A available in the config file, activating action A runs script 1 wich activate the system, action B becomes available when conditions are met, script 2 is run when needed performing the desired task. what I'd like: unit X runs script 1 simplt by being placed in the editor, when conditions are met action B becomes available.... also it would be fine if you still need to activate the system but once it's activated action A disappears for that unit. I'm trying to build something like medical ability for a soldier and an alert system for a vehicle, both addon based, I've the scripts running, just some problem getting them started. Right now the system works BUT if you press twice action A you've TWO systems running, press A a few more times by accident and your scroll list it's cluttered in no time, though eveything still works perfectly (and lots of unneded scripts going around) P.S. Yes I searched the forum, NO I didn't find anything. Share this post Link to post Share on other sites
loyalguard 15 Posted September 16, 2011 Maybe you could try setVariable and getVariable and condition checks to determine which actions are visible under certain conditions. Share this post Link to post Share on other sites
LUPO_ 10 Posted September 21, 2011 thanks for the reply, I couldn't make it work yet but still , thanks :) Share this post Link to post Share on other sites