Log in

View Full Version : how do i trigger a module?



dean015
02-05-2016, 06:12 PM
nvm delete sorry

Merre
02-05-2016, 06:58 PM
Play around with Module:Start("name") and Module:Stop("name")

Add a label to stop the module from running and when you want it to start dropping supplies make another label like

Restart
StopDrop
Node
Node
BuyManas
Node
Node
StartDrop

kamilqq
02-06-2016, 01:27 AM
Play around with Module:Start("name") and Module:Stop("name")

Add a label to stop the module from running and when you want it to start dropping supplies make another label like

Restart
StopDrop
Node
Node
BuyManas
Node
Node
StartDrop

not sure but i think Module.Stop('name') instead of : . Using xxx:Stop() u place xxx as first argument of Stop().
so Module:Start('name') is like : Module.Start(Module, 'name'). Im now too lazy to test it out on xenobot, but thats in theory.
Also fix me if im wrong.