Here is a relatively simple script:
It is activated with Radio Trigger Charlie, set repeatedly.
Activation: [] exec "Build/Garage1/Start.sqs"
The Start.sqs is in the folder named "Gararge1," which is in a folder named "Build." It goes:
3 setRadioMsg "null"
Worker sidechat "Select Motor vehicle for construction."
Garage1Motorbikeaction = player addaction ["Motorbike (30 mins)","Build/Garage1/MakeMotorbike.sqs"]
Garage1UAZaction = player addaction ["UAZ (45 mins)","Build/Garage1/MakeUAZ.sqs"]
Garage1URALaction = player addaction ["URAL (2 hrs)","Build/Garage1/MakeURAL.sqs"]
Garage1ReammoURALaction = player addaction ["Reammo URAL (3 hrs)","Build/Garage1/MakeReammoURAL.sqs"]
Garage1RefuelURALaction = player addaction ["Refuel URAL (3 hrs)","Build/Garage1/MakeRefuelURAL.sqs"]
Garage1RepairURALaction = player addaction ["Repair URAL (4 hrs)","Build/Garage1/MakeRepairURAL.sqs"]
Garage1closeaction = player addaction ["Make nothing yet","Build/Garage1/Close.sqs"]
exit
All of the Makemotorbike.sqs and Make(whatever).sqs scripts are pretty much the same. For example, here is MakeUAZ.sqs:
;Make UAZ
player removeaction Garage1Motorbikeaction
player removeaction Garage1UAZaction
player removeaction Garage1Uralaction
player removeaction Garage1ReammoUralaction
player removeaction Garage1RefuelUralaction
player removeaction Garage1RepairUralaction
player removeaction Garage1Closeaction
worker sidechat "We are starting work right way on the UAZ!"
~2700
worker sidechat "We have completed the UAZ!"
"UAZ" createVehicle (getMarkerPos "garage1")
3 setRadioMsg "Motorpool"
exit
In the editor, everything worked fine, but sometimes in SP I get an error that the Start.sqs is not found.
I'm almost sure the / and \ is the issue.