Difference between revisions of "Is-iff"

From FreeSpace Wiki
Jump to: navigation, search
(Comment added)
m (Comments: wikified a dash and sentence structure)
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
 
  Rest: Name of ship to check.
 
  Rest: Name of ship to check.
 
===Comments===
 
===Comments===
The retail version of this SEXP does not work on wings. This is fixed in the SCP, and using it on wings there will work.
+
The retail version of this SEXP does not work for many people—it crashes in both FS1 and FS2. This is fixed in FSO, which also allows it to be used on wings.
 +
 
 
[[Category:Retail SEXPs]][[Category:SCP SEXPs]]
 
[[Category:Retail SEXPs]][[Category:SCP SEXPs]]

Latest revision as of 21:23, 15 April 2010

Is IFF (Boolean operator)
	True if ship{s} are all of the specified team.

Returns a boolean value; Takes 2 or more arguments:
/t1:	Team ("friendly", "hostile" or "unknown").
	Rest:	Name of ship to check.

Comments

The retail version of this SEXP does not work for many people—it crashes in both FS1 and FS2. This is fixed in FSO, which also allows it to be used on wings.