Jump to content
Sign in to follow this  
LUPO_

Running a script in an addon (help needed)

Recommended Posts

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

thanks for the reply, I couldn't make it work yet but still , thanks :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×