I'm trying to make variables using call, format, and a counter... unfortunately, ofp spits out an unknown operator at me...
here's the code:
(call format ["TRG_fakepilot%1",_counter]) = this
and this is done in the init line of createunit:
"SoldierWB" createUnit [[0,0,0], group _pilot, {(call format ["TRG_fakepilot%1",_counter]) = this}, 1, "corporal"]
and here is the error message:
(call format ["TRG_fakepilot%1",_counter]) |#|= this:error unknown operator
what am i not doing? or doing wrong?