Difference between revisions of "Obj:tSetFormation"

From NexusWiki
Jump to: navigation, search
(Created page with 'Using this command, we can dictate which formation the squadron should adopt. The command: obj:tSetFormation(id, type); Parameters: "obj" := The formation leader, command mu...')
 
 
Line 7: Line 7:
 
Parameters:
 
Parameters:
  
"obj"  := The formation leader, command must be issued on the lead ship.
+
#"obj"  := The formation leader, command must be issued on the lead ship.
"id"  := The formations identification reference. These can be found in the 'Universe/Tactics/TacticsAI.ini'.
+
#"id"  := The formations identification reference. These can be found in the 'Universe/Tactics/TacticsAI.ini'.
"Type" := '0' - Normal movement. '1' - Targets the lead ships target. '2' - Fires upon any ship that attacks the lead ship.
+
#"Type" := '0' - Normal movement. '1' - Targets the lead ships target. '2' - Fires upon any ship that attacks the lead ship.

Latest revision as of 02:20, 17 February 2010

Using this command, we can dictate which formation the squadron should adopt.

The command:

obj:tSetFormation(id, type);

Parameters:

  1. "obj"  := The formation leader, command must be issued on the lead ship.
  2. "id"  := The formations identification reference. These can be found in the 'Universe/Tactics/TacticsAI.ini'.
  3. "Type" := '0' - Normal movement. '1' - Targets the lead ships target. '2' - Fires upon any ship that attacks the lead ship.