Difference between revisions of "Script commands"

From NexusWiki
Jump to: navigation, search
(Created page with '==Script structure commands== ===Structure=== {| style="width: 600px; background-color: transparent; text-align: left;" ! style="width: 33%" | *Choose *ChooseFirst *[[D...')
 
Line 2: Line 2:
  
 
===Structure===
 
===Structure===
 
+
{| style="width: 100%; background-color: transparent; text-align: left;"
{| style="width: 600px; background-color: transparent; text-align: left;"
+
 
! style="width: 33%" |
 
! style="width: 33%" |
 
*[[Choose]]
 
*[[Choose]]
Line 17: Line 16:
  
 
===Variable manager===
 
===Variable manager===
 
+
{| style="width: 100%; background-color: transparent; text-align: left;"
{| style="width: 600px; background-color: transparent; text-align: left;"
+
 
! style="width: 33%" |
 
! style="width: 33%" |
 
*[[Ceil]]
 
*[[Ceil]]
Line 88: Line 86:
  
 
===Selection===
 
===Selection===
 
+
{| style="width: 100%; background-color: transparent; text-align: left;"
{| style="width: 600px; background-color: transparent; text-align: left;"
+
 
! style="width: 33%" |
 
! style="width: 33%" |
 
*[[AddItem]]
 
*[[AddItem]]
Line 129: Line 126:
  
 
===Event handling===
 
===Event handling===
 
+
{| style="width: 100%; background-color: transparent; text-align: left;"
 +
! style="width: 33%" |
 
*[[Call]]
 
*[[Call]]
 
*[[ClearTimer]]
 
*[[ClearTimer]]
Line 138: Line 136:
 
*[[MEvent]]
 
*[[MEvent]]
 
*[[PEvent]]
 
*[[PEvent]]
 +
! style="width: 33%" |
 
*[[Return]]
 
*[[Return]]
 
*[[RootEvent]]
 
*[[RootEvent]]
Line 146: Line 145:
 
*[[UTimer]]
 
*[[UTimer]]
 
*[[EnableGUIEvents]]
 
*[[EnableGUIEvents]]
 +
! style="width: 33%; vertical-align: top;" |
 
*[[RequestFiredEvent]]
 
*[[RequestFiredEvent]]
 
*[[obj:tRequestCriticalDamageEvent]]
 
*[[obj:tRequestCriticalDamageEvent]]
Line 153: Line 153:
 
*[[obj:tRequestOverforceEvent]]
 
*[[obj:tRequestOverforceEvent]]
 
*[[obj:tRequestShipInRangeEvent]]
 
*[[obj:tRequestShipInRangeEvent]]
 +
|}
  
 
===Statemachine===
 
===Statemachine===
 
+
{| style="width: 100%; background-color: transparent; text-align: left;"
 +
! style="width: 33%" |
 
*[[ChangeState]]
 
*[[ChangeState]]
 
*[[ChangeTick]]
 
*[[ChangeTick]]
 +
! style="width: 33%" |
 
*[[GetMachine]]
 
*[[GetMachine]]
 
*[[IsInState]]
 
*[[IsInState]]
 +
! style="width: 33%; vertical-align: top;" |
 
*[[LeaveState]]
 
*[[LeaveState]]
 +
|}
  
 
===Multiplay===
 
===Multiplay===
 
+
{| style="width: 100%; background-color: transparent; text-align: left;"
 +
! style="width: 33%" |
 
*[[MpGameOver]]
 
*[[MpGameOver]]
 
*[[MpGetPlayer]]
 
*[[MpGetPlayer]]
Line 172: Line 178:
 
*[[MpGetTeamGain]]
 
*[[MpGetTeamGain]]
 
*[[MpGetTeamRace]]
 
*[[MpGetTeamRace]]
 +
! style="width: 33%" |
 
*[[MpGetWinningCondition]]
 
*[[MpGetWinningCondition]]
 
*[[MpGetWinningConditionParam]]
 
*[[MpGetWinningConditionParam]]
Line 180: Line 187:
 
*[[MpEnableJumpIn]]
 
*[[MpEnableJumpIn]]
 
*[[MpEnableJumpOut]]
 
*[[MpEnableJumpOut]]
 +
! style="width: 33%; vertical-align: top;" |
 
*[[MpSetDead]]
 
*[[MpSetDead]]
 
*[[MpSetTeamGain]]
 
*[[MpSetTeamGain]]
Line 187: Line 195:
 
*[[MpSpawnPoint]]
 
*[[MpSpawnPoint]]
 
*[[SetSceneRadius]]
 
*[[SetSceneRadius]]
 +
|}
  
 
==Mission script commands==
 
==Mission script commands==
  
 
===Scene===
 
===Scene===
 
+
{| style="width: 100%; background-color: transparent; text-align: left;"
 +
! style="width: 33%" |
 
*[[AddMechaLegion]]
 
*[[AddMechaLegion]]
 
*[[AddNavigPoint]]
 
*[[AddNavigPoint]]
Line 209: Line 219:
 
*[[GuiEnable]]
 
*[[GuiEnable]]
 
*[[GuiSelect]]
 
*[[GuiSelect]]
 +
! style="width: 33%" |
 
*[[MissionObjective]]
 
*[[MissionObjective]]
 
*[[MoveNPC]]
 
*[[MoveNPC]]
Line 226: Line 237:
 
*[[SetAreaAbs]]
 
*[[SetAreaAbs]]
 
*[[SetFogColor]]
 
*[[SetFogColor]]
 +
! style="width: 33%; vertical-align: top;" |
 
*[[SetFogDensity]]
 
*[[SetFogDensity]]
 
*[[SetListOrder]]
 
*[[SetListOrder]]
Line 241: Line 253:
 
*[[StopCountdown]]
 
*[[StopCountdown]]
 
*[[Transmission]]
 
*[[Transmission]]
 +
|}
  
 
===Jump===
 
===Jump===
 +
{| style="width: 100%; background-color: transparent; text-align: left;"
 +
! style="width: 33%" |
 
*[[AppearFleet]]
 
*[[AppearFleet]]
 
*[[JumpInShips]]
 
*[[JumpInShips]]
 +
! style="width: 33%" |
 
*[[SetFleetEntry]]
 
*[[SetFleetEntry]]
 
*[[StartJump]]
 
*[[StartJump]]
 +
! style="width: 33%; vertical-align: top;" |
 +
|}
  
 
===Operations of races===
 
===Operations of races===
 +
{| style="width: 100%; background-color: transparent; text-align: left;"
 +
! style="width: 33%" |
 
*[[ForbidFirePurp]]
 
*[[ForbidFirePurp]]
 
*[[GetNavigPoint]]
 
*[[GetNavigPoint]]
 +
! style="width: 33%" |
 
*[[GetRelation]]
 
*[[GetRelation]]
 
*[[Race2civilization]]
 
*[[Race2civilization]]
 +
! style="width: 33%; vertical-align: top;" |
 
*[[SetRelation]]
 
*[[SetRelation]]
 +
|}
  
 
===Messages and postings===
 
===Messages and postings===
 +
{| style="width: 100%; background-color: transparent; text-align: left;"
 +
! style="width: 33%" |
 
*[[Dialog]]
 
*[[Dialog]]
 
*[[DeletePendingDialogs]]
 
*[[DeletePendingDialogs]]
 
*[[HideDialog]]
 
*[[HideDialog]]
 +
! style="width: 33%" |
 
*[[NoTitle]]
 
*[[NoTitle]]
 
*[[NoTutorial]]
 
*[[NoTutorial]]
 
*[[Title]]
 
*[[Title]]
 +
! style="width: 33%; vertical-align: top;" |
 
*[[TitleNoTime]]
 
*[[TitleNoTime]]
 
*[[Tutorial]]
 
*[[Tutorial]]
 +
|}
  
 
===Camera handling===
 
===Camera handling===
 +
{| style="width: 100%; background-color: transparent; text-align: left;"
 +
! style="width: 33%" |
 
*[[CamBoatView]]
 
*[[CamBoatView]]
 
*[[CamGoRound]]
 
*[[CamGoRound]]
Line 273: Line 303:
 
*[[CamLookAt]]
 
*[[CamLookAt]]
 
*[[CamMoveAndTurn]]
 
*[[CamMoveAndTurn]]
 +
! style="width: 33%" |
 
*[[CamMoveTo]]
 
*[[CamMoveTo]]
 
*[[CamOrient]]
 
*[[CamOrient]]
Line 280: Line 311:
 
*[[CamShift]]
 
*[[CamShift]]
 
*[[CamTargetView]]
 
*[[CamTargetView]]
 +
! style="width: 33%; vertical-align: top;" |
 
*[[CamTripleMode]]
 
*[[CamTripleMode]]
 
*[[CamTurnTo]]
 
*[[CamTurnTo]]
Line 285: Line 317:
 
*[[ChangeLocation]]
 
*[[ChangeLocation]]
 
*[[FadeScreen]]
 
*[[FadeScreen]]
 +
|}
  
 
==Ship related commands==
 
==Ship related commands==
  
 
===General===
 
===General===
 +
{| style="width: 100%; background-color: transparent; text-align: left;"
 +
! style="width: 33%" |
 
*[[Add2Fleet]]
 
*[[Add2Fleet]]
 
*[[AddBreachPoint]]
 
*[[AddBreachPoint]]
Line 297: Line 332:
 
*[[CreateShip]]
 
*[[CreateShip]]
 
*[[DeleteShip]]
 
*[[DeleteShip]]
 +
! style="width: 33%" |
 
*[[Disappear]]
 
*[[Disappear]]
 
*[[DockOut]]
 
*[[DockOut]]
Line 305: Line 341:
 
*[[NumBreachPoints]]
 
*[[NumBreachPoints]]
 
*[[NumDockPoints]]
 
*[[NumDockPoints]]
 +
! style="width: 33%; vertical-align: top;" |
 
*[[PlayShipAnim]]
 
*[[PlayShipAnim]]
 
*[[RenameShip]]
 
*[[RenameShip]]
Line 313: Line 350:
 
*[[Terminate]]
 
*[[Terminate]]
 
*[[UniteShips]]
 
*[[UniteShips]]
 +
|}
  
 
===Tactics===
 
===Tactics===

Revision as of 03:14, 12 June 2009

Script structure commands

Structure

Variable manager

Selection

Event handling

Statemachine

Multiplay

Mission script commands

Scene

Jump

Operations of races

Messages and postings

Camera handling

Ship related commands

General

Tactics

Movement and territory

Devices and weapons

Detection

Formations