I have another problem now. Fact is activation of script.sqs works:
<assume here the vehicle is of class A>
?(_class == A OR _class == B): _vehicle exec "script.sqs"
I am using many vehicle types so I dont want to write "OR _class == etc. etc." for each vehicle type. My solution for tis was to declare an array of vehicle types in the init.sqs that contains the appropriate groups of vehicle types. like this:
In init.sqs
classes = ["A","B"]
But now if I want to activate the script.sqs again like this:
?(_class in classes): _vehicle exec "script.sqs"
this does not work. Does anyone know why?
Yhnx, Pimmelorus