civilian – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

When side returns "CIV", why the example look like this:

? ((side manOne) != civilian) : hint "Unit is a soldier" 

Either the Note is wrong or the example, or me? --T_D 11:10, 21 July 2006 (CEST)

Ask BIS, it's the same "bug" as resistance/GUER. But it's working and civilian is proper value to comparison.

?(side player) == civilian

is the same as

?format [{%1},side player] == "CIV"

so civilian returns the string "CIV". I think that should be added, otherwise it is a bit confusing (at least for me :P) --T_D 13:02, 21 July 2006 (CEST)