civilian – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:


Either the Note is wrong or the example, or me? --[[User:T D|T_D]] 11:10, 21 July 2006 (CEST)
Either the Note is wrong or the example, or me? --[[User:T D|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.
<pre>?(side player) == civilian</pre>
is the same as
<pre>?format [{%1},side player] == "CIV"</pre>
so civilian returns the string "CIV". I think that should be added, otherwise it is a bit confusing (at least for me :P) --[[User:T D|T_D]] 13:02, 21 July 2006 (CEST)

Latest revision as of 12:02, 21 July 2006

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)