Obj:tSetFormation

From NexusWiki
Jump to: navigation, search

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.