Difference between revisions of "Template:ScriptStructureCommands"
m |
m (background color change) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div style="border: 1px solid #4285B1; background: | + | <div style="border: 1px solid #4285B1; background: #E0E0E0; text-align: center; margin: 2em 0;"> |
− | '''Script structure commands'''<br/> | + | '''Script structure commands''' |
+ | ---- | ||
+ | ''Structure''<br/> | ||
[[Choose]] - [[ChooseFirst]] - [[Delay]] - [[If]] - [[IsValid]] - [[When]] - [[While]] | [[Choose]] - [[ChooseFirst]] - [[Delay]] - [[If]] - [[IsValid]] - [[When]] - [[While]] | ||
+ | |||
+ | ''Variable manager''<br/> | ||
+ | [[Ceil]] - [[Cos]] - [[Exp]] - [[Floor]] - [[Log]] - [[Max]] - [[Min]] - [[Not]] - [[Pow]] - [[Rnd]] - [[Round]] - [[Sin]] - [[Sqrt]] - [[Col]] - [[CHeat]] - [[CPlanck]] - [[CInv]] - [[CAdd]] - [[CAdda]] - [[CMul]] - [[CLerp]] - [[CBrig]] - [[CEqu]] - [[GetVal]] - [[IsName]] - [[Rot]] - [[V2Rot]] - [[R2Vec]] - [[Requ]] - [[RNull]] - [[SLen]] - [[SCat]] - [[SSub]] - [[SNum]] - [[SNumPad]] - [[SCmp]] - [[SiCmp]] - [[Set]] - [[SetVal]] - [[XfIdent]] - [[XfTran]] - [[XfRotX]] - [[XfRotY]] - [[XfRotZ]] - [[XfRot]] - [[XfScale]] - [[XfInv]] - [[XfTran]] - [[XfMul]] - [[Vec]] - [[VNull]] - [[VRandomOrth]] - [[VLen]] - [[VSqLen]] - [[VNorm]] - [[VNeg]] - [[VAdd]] - [[VSub]] - [[VMul]] - [[VDot]] - [[VCross]] - [[VEqu]] - [[VXform]] | ||
+ | |||
+ | ''Selection''<br/> | ||
+ | [[AddItem]] - [[AddList]] - [[AllNum]] - [[Copy]] - [[CopyIf]] - [[DeleteSelect]] - [[Deselect]] - [[Dim]] - [[Empty]] - [[ExecList]] - [[obj:Colony]] - [[FindUnder]] - [[FirstNotScanned]] - [[GetFreeSel]] - [[GetN]] - [[IndexOf]] - [[InSelection]] - [[MaxList]] - [[NumOf]] - [[Pick]] - [[PickFirst]] - [[PickMax]] - [[PickN]] - [[RemoveFirst]] - [[RemoveItem]] - [[Select]] - [[SelectBoats]] - [[SelectDevices]] - [[SelectEx]] - [[SelectShips]] - [[SelWeightMul]] - [[SetN]] -[[SubList]] | ||
+ | |||
+ | ''Event handling''<br/> | ||
+ | [[Call]] - [[ClearTimer]] - [[Disable]] - [[Enable]] - [[EventEx]] - [[LocalEvent]] - [[MEvent]] - [[PEvent]] - [[Return]] - [[RootEvent]] - [[Timer]] - [[StartTimer]] - [[UCall]] - [[UEvent]] - [[UTimer]] - [[EnableGUIEvents]] - [[RequestFiredEvent]] - [[obj:tRequestCriticalDamageEvent]] - [[obj:tRequestDetectionEvent]] - [[obj:tRequestEnergyOnMax]] - [[obj:tRequestNoShipsInRangeEvent]] - [[obj:tRequestOverforceEvent]] - [[obj:tRequestShipInRangeEvent]] | ||
+ | |||
+ | ''Statemachine''<br/> | ||
+ | [[ChangeState]] - [[ChangeTick]] - [[GetMachine]] - [[IsInState]] - [[LeaveState]] | ||
+ | |||
+ | ''Multiplay''<br/> | ||
+ | [[MpGameOver]] - [[MpGetPlayer]] - [[MpGetPlayerCount]] - [[MpGetPlayerKills]] - [[MpGetPlayerGain]] - [[MpGetTeamKills]] - [[MpGetTeamGain]] - [[MpGetTeamRace]] - [[MpGetWinningCondition]] - [[MpGetWinningConditionParam]] - [[MpHoldPrepare]] - [[MpHoldPrepare]] - [[MpIsIndividual]] - [[MpIsPlayerValid]] - [[MpEnableJumpIn]] - [[MpEnableJumpOut]] - [[MpSetDead]] - [[MpSetTeamGain]] - [[MpSetPlayerGain]] - [[MpSetWinnerTeam]] - [[MpSetWinnerPlayer]] - [[MpSpawnPoint]] - [[SetSceneRadius]] | ||
+ | ---- | ||
+ | <small>[[Script commands|- view all commands -]]</small><br/> | ||
</div> | </div> |
Latest revision as of 17:21, 11 August 2014
Script structure commands
Structure
Choose - ChooseFirst - Delay - If - IsValid - When - While
Variable manager
Ceil - Cos - Exp - Floor - Log - Max - Min - Not - Pow - Rnd - Round - Sin - Sqrt - Col - CHeat - CPlanck - CInv - CAdd - CAdda - CMul - CLerp - CBrig - CEqu - GetVal - IsName - Rot - V2Rot - R2Vec - Requ - RNull - SLen - SCat - SSub - SNum - SNumPad - SCmp - SiCmp - Set - SetVal - XfIdent - XfTran - XfRotX - XfRotY - XfRotZ - XfRot - XfScale - XfInv - XfTran - XfMul - Vec - VNull - VRandomOrth - VLen - VSqLen - VNorm - VNeg - VAdd - VSub - VMul - VDot - VCross - VEqu - VXform
Selection
AddItem - AddList - AllNum - Copy - CopyIf - DeleteSelect - Deselect - Dim - Empty - ExecList - obj:Colony - FindUnder - FirstNotScanned - GetFreeSel - GetN - IndexOf - InSelection - MaxList - NumOf - Pick - PickFirst - PickMax - PickN - RemoveFirst - RemoveItem - Select - SelectBoats - SelectDevices - SelectEx - SelectShips - SelWeightMul - SetN -SubList
Event handling
Call - ClearTimer - Disable - Enable - EventEx - LocalEvent - MEvent - PEvent - Return - RootEvent - Timer - StartTimer - UCall - UEvent - UTimer - EnableGUIEvents - RequestFiredEvent - obj:tRequestCriticalDamageEvent - obj:tRequestDetectionEvent - obj:tRequestEnergyOnMax - obj:tRequestNoShipsInRangeEvent - obj:tRequestOverforceEvent - obj:tRequestShipInRangeEvent
Statemachine
ChangeState - ChangeTick - GetMachine - IsInState - LeaveState
Multiplay
MpGameOver - MpGetPlayer - MpGetPlayerCount - MpGetPlayerKills - MpGetPlayerGain - MpGetTeamKills - MpGetTeamGain - MpGetTeamRace - MpGetWinningCondition - MpGetWinningConditionParam - MpHoldPrepare - MpHoldPrepare - MpIsIndividual - MpIsPlayerValid - MpEnableJumpIn - MpEnableJumpOut - MpSetDead - MpSetTeamGain - MpSetPlayerGain - MpSetWinnerTeam - MpSetWinnerPlayer - MpSpawnPoint - SetSceneRadius