Difference between revisions of "Change-iff"

From FreeSpace Wiki
Jump to: navigation, search
(Actual SEXP Help)
(Grammar & layout improvements)
Line 1: Line 1:
 
  change-iff  
 
  change-iff  
Change IFF (Action operator)  
+
    Change IFF (Action operator)  
Sets the specified ship(s) or wing(s) to the specified team.  
+
    Sets the specified ship(s) or wing(s) to the specified team.  
Takes 2 or more arguments...  
+
    Takes 2 or more arguments...  
1: Team to change to ("friendly", "hostile" or "unknown").  
+
    1: Team to change to ("friendly", "hostile" or "unknown").  
Rest: Name of ship or wing to change team status of.  
+
    Rest: Name of ship or wing to change team status of.
 
+
===Comments===
 
+
The change IFF sexp can be used by mission designers so that when called, it will change the IFF of a given ship so that it can effectively change alliegance. It can also be used to change the Player's IFF simulating desertion or Command's wrath at messing up in some way.
 
+
[[Category:Retail SEXPs]]
 
 
The change IFF sexp can be used by mission designers so that when called, It will change the IFF of a given ship so that it can effectively change alliegance.
 
 
 
It can also be used to change the Players IFF simulating desertion or Commands wrath at messing up in some way.
 

Revision as of 23:17, 1 August 2007

change-iff 
    Change IFF (Action operator) 
    Sets the specified ship(s) or wing(s) to the specified team. 
    Takes 2 or more arguments... 
    1: Team to change to ("friendly", "hostile" or "unknown"). 
    Rest: Name of ship or wing to change team status of.

Comments

The change IFF sexp can be used by mission designers so that when called, it will change the IFF of a given ship so that it can effectively change alliegance. It can also be used to change the Player's IFF simulating desertion or Command's wrath at messing up in some way.