LDCad setEvent, 'run' and passing parameters to macro?


setEvent, 'run' and passing parameters to macro?
#1
Hi Roland,

with 1.7 scripting API in LDCad, is it possible to pass an argument to a macro when it is run? For example, if I have a macro named:
Code:
linkage_parts_select_gf

which has a single argument
Code:
first_call_ai

can a value be passed via the setEvent API e.g.
Code:
macro_lo:setEvent('run', 'linkage_parts_select_gf', '1')

Regards,

David
Reply
« Next Oldest | Next Newest »



Messages In This Thread
setEvent, 'run' and passing parameters to macro? - by David Manley - 2021-09-25, 1:45

Forum Jump:


Users browsing this thread: 1 Guest(s)