Difference between revisions of "Is-iff"

From FreeSpace Wiki
Jump to: navigation, search
m (category added)
m (Comments: wikified a dash and sentence structure)
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
  /t1: Team ("friendly", "hostile" or "unknown").
 
  /t1: Team ("friendly", "hostile" or "unknown").
 
  Rest: Name of ship to check.
 
  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.
 +
 
[[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.