Dont know if this will work or not but try it.
First Give your smoke generator a name and in in the initialization line (MyLYNXNAME) doTarget (TARGETNAME)
Next put in an empty object that can be fired upon
it must be a west or east object I havent had any luck getting units to fire on civilian stuff ,try empty camera Effect
in your editor and use Effect flare and give it a name
Now Place a trigger and name it (triggerName)
Make the trigger 5x5
Activation Vehicle so group your trigger to the LYNX
NotPresent Repeatedly
OnActivation TARGETNAME setpos [(getpos LYNXNAME select 0,20) ,getpos LYNXNAME select 1 ] ; TriggerName
setPos [getpos LYNXNAME select 0, getpos LYNXNAME select
1] ; LYNXNAME doFire TARGETNAME
Play with the numbers a bit cause you can set position below ground level for the target making it not visible to yourself but the AI can still see it to a point.
Like I said just give it a try It worked for a soldier I was testing other night had a radio hopping around behind him
like a big ole frog, I wont guarantee this will work but
scripting for me is still a mystery so I mostly use triggers
If you want the unit to stop smoking either in a way point or in a trigger Initiated by a radio command
ON Activation deleteVehicle TriggerName