I am not making a MP mission, but my question I am sure will be known to MP mission makers.
It simply this - How do I detect if a unit is not carring a flag without having to check that he is not the owner of every flag in the mission? I suppose I could use:
not ((flag unitname) in [flag1,flag2...])
but I am struggling to get the values for flag1, flag2 etc. I am trying to get them using
hint format ["%1",flag _flagowner]
but that just gives me: a number that is different each time#NOID Vlajkstozar
for each of the different flags in the mission.
Basically I am trying to avoid a unit being given a flag if they already have one.