From Bohemia Interactive Community
Revision as of 13:02, 21 July 2006 by T DBot (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)