|  | 
| 4rpl:start [2022/08/31 18:17]  – Switch/Case syntax added Karsten75 | 4rpl:start [2025/02/14 14:57] (current)  – external edit 127.0.0.1 | 
|---|
| ==== Arithmetic ==== | ==== Arithmetic ==== | 
 |  | 
| <wrap note>//<sub>Note</sub>//[(alias>alternate notation in [[cw4:symbol_aliasing]])]</wrap> \\  [[4rpl:commands:add]] \\  [[4rpl:commands:div]] \\  [[4rpl:commands:mod]] \\  [[4rpl:commands:mod2]] \\  [[4rpl:commands:mul]] \\  [[4rpl:commands:pow]] \\  [[4rpl:commands:sub]] \\ | <wrap note>//<sup>Note</sup>//[(alias>alternate notation in [[cw4:symbol_aliasing]])]</wrap> \\  [[4rpl:commands:add]] \\  [[4rpl:commands:div]] \\  [[4rpl:commands:mod]] \\  [[4rpl:commands:mod2]] \\  [[4rpl:commands:mul]] \\  [[4rpl:commands:pow]] \\  [[4rpl:commands:sub]] \\ | 
 |  | 
| \\ \\ \\ \\ \\ \\ \\ | \\ \\ \\ \\ \\ \\ \\ | 
| ==== Comparators ==== | ==== Comparators ==== | 
 |  | 
| <wrap note>//<sub>Note</sub>//[(alias)]</wrap> \\  [[4rpl:commands:eq]] \\  [[4rpl:commands:eq0]] \\  [[4rpl:commands:gt]] \\  [[4rpl:commands:gt0]] \\  [[4rpl:commands:gte]] \\  [[4rpl:commands:gte0]] \\  [[4rpl:commands:lt]] \\  [[4rpl:commands:lt0]] \\  [[4rpl:commands:lte]] \\  [[4rpl:commands:lte0]] \\  [[4rpl:commands:neq]] \\  [[4rpl:commands:neq0]] \\ | <wrap note>//<sup>Note</sup>//[(alias)]</wrap> \\  [[4rpl:commands:eq]] \\  [[4rpl:commands:eq0]] \\  [[4rpl:commands:gt]] \\  [[4rpl:commands:gt0]] \\  [[4rpl:commands:gte]] \\  [[4rpl:commands:gte0]] \\  [[4rpl:commands:lt]] \\  [[4rpl:commands:lt0]] \\  [[4rpl:commands:lte]] \\  [[4rpl:commands:lte0]] \\  [[4rpl:commands:neq]] \\  [[4rpl:commands:neq0]] \\ | 
 |  | 
| \\ \\ | \\ \\ | 
|  · [[4rpl:commands:Unit Types]] \\  |  · [[4rpl:commands:Unit Types]] \\  | 
|  · [[4rpl:commands:Sounds]] \\ |  · [[4rpl:commands:Sounds]] \\ | 
|   |  · [[4rpl:commands:CreateEffect|Effects]] \\ | 
 |  | 
 |  | 
| ==== Logic ==== | ==== Logic ==== | 
 |  | 
| <wrap note>//<sub>Note</sub>//[(alias>)]</wrap> \\  [[4rpl:commands:and]] \\  [[4rpl:commands:not]] \\  [[4rpl:commands:or]] \\  [[4rpl:commands:xor]] \\  [[4rpl:commands:true]] \\  [[4rpl:commands:false]] \\   \\   \\   \\   \\   \\ \\ \\ | <wrap note>//<sup>Note</sup>//[(alias>)]</wrap> \\  [[4rpl:commands:and]] \\  [[4rpl:commands:not]] \\  [[4rpl:commands:or]] \\  [[4rpl:commands:xor]] \\  [[4rpl:commands:true]] \\  [[4rpl:commands:false]] \\   \\   \\   \\   \\   \\ \\ \\ | 
 |  | 
| </WRAP> | </WRAP> | 
| [[4rpl:commands:do]] \\ | [[4rpl:commands:do]] \\ | 
| [[4rpl:commands:else]] \\ | [[4rpl:commands:else]] \\ | 
|   | [[4rpl:commands:endcase]] \\ | 
| [[4rpl:commands:endif]] \\ | [[4rpl:commands:endif]] \\ | 
| [[4rpl:commands:endonce]] \\ | [[4rpl:commands:endonce]] \\ | 
 |  | 
| ==== Tables ==== | ==== Tables ==== | 
|   | //<sup>See [[4rpl:commands:specialsyntax#Tables| Special syntax]]</sup>// \\  | 
|   | [[4rpl:commands:ClearTable]] \\   | 
| [[4rpl:commands:CreateTable]] \\   | [[4rpl:commands:CreateTable]] \\   | 
| GlobalTable  [[4rpl:commands:GetGlobalTable|Get]]  |  [[4rpl:commands:SetGlobalTable|Set]]  \\   | GlobalTable  [[4rpl:commands:GetGlobalTable|Get]]  |  [[4rpl:commands:SetGlobalTable|Set]]  \\   | 
| [[4rpl:commands:RemoveTableElement]] \\   | [[4rpl:commands:RemoveTableElement]] \\   | 
| [[4rpl:commands:Table]] \\   | [[4rpl:commands:Table]] \\   | 
|   | [[4rpl:commands:TableContainsKey]] \\   | 
| TableCount [[4rpl:commands:GetTableCount]|Get]] \\   | TableCount [[4rpl:commands:GetTableCount]|Get]] \\   | 
| TableElement  [[4rpl:commands:GetTableElement|Get]]  |  [[4rpl:commands:SetTableElement|Set]]  \\ | TableElement  [[4rpl:commands:GetTableElement|Get]]  |  [[4rpl:commands:SetTableElement|Set]]  \\ | 
| ==== Vectors ==== | ==== Vectors ==== | 
 |  | 
|   | //<sup>See [[4rpl:commands:specialsyntax#vectors| Special syntax]]</sup>// \\ | 
| Cell [[4rpl:commands:FromCell|From]] | [[4rpl:commands:ToCell|To]] \\   | Cell [[4rpl:commands:FromCell|From]] | [[4rpl:commands:ToCell|To]] \\   | 
| [[4rpl:commands:Cross]] \\   | [[4rpl:commands:Cross]] \\   | 
 |  | 
| ==== Output ==== | ==== Output ==== | 
| <wrap note>//<sub>Note</sub>//[(Edit>Output to the RPL.txt file is //only// produced if the game is in Edit mode. In normal circumstances, no output will be produced.)]</wrap> \\   | <wrap note>//<sup>Note</sup>//[(Edit>Output to the RPL.txt file is //only// produced if the game is in Edit mode. In normal circumstances, no output will be produced.)]</wrap> \\   | 
| [[4rpl:commands:CR]] \\  | [[4rpl:commands:CR]] \\  | 
| [[4rpl:ClearPrintLog]] \\ | [[4rpl:commands:ClearPrintLog]] \\ | 
| [[4rpl:commands:DQ]] \\   | [[4rpl:commands:DQ]] \\   | 
| [[4rpl:commands:LF]] \\  | [[4rpl:commands:LF]] \\  | 
| <WRAP column> | <WRAP column> | 
| ==== Lists ==== | ==== Lists ==== | 
|   | //<sup>See [[4rpl:commands:specialsyntax#lists| Special syntax]]</sup>// \\  | 
|   | [[4rpl:commands:AppendListToList]] \\   | 
| [[4rpl:commands:AppendStackToList]] \\   | [[4rpl:commands:AppendStackToList]] \\   | 
| [[4rpl:commands:AppendToList]] \\   | [[4rpl:commands:AppendToList]] \\   | 
| ListElement  [[4rpl:commands:GetListElement|Get]]  |  [[4rpl:commands:SetListElement|Set]] \\   | ListElement  [[4rpl:commands:GetListElement|Get]]  |  [[4rpl:commands:SetListElement|Set]] \\   | 
| ListElementRPN  [[4rpl:commands:SetListElementRPN|Set]] \\   | ListElementRPN  [[4rpl:commands:SetListElementRPN|Set]] \\   | 
| [[4rpl:commands:ListN]] \\   | ListIndex  [[4rpl:commands:GetListIndex|Get]] \\    | 
|   | ListIndices  [[4rpl:commands:GetListIndices|Get]] \\    | 
|   | [[4rpl:commands:ListN]] \\   | 
|   | [[4rpl:commands:ListToStack]] \\    | 
| [[4rpl:commands:PopList]] \\   | [[4rpl:commands:PopList]] \\   | 
|   | [[4rpl:commands:PrependListToList]] \\   | 
| [[4rpl:commands:PrependStackToList]] \\   | [[4rpl:commands:PrependStackToList]] \\   | 
| [[4rpl:commands:PrependToList]] \\   | [[4rpl:commands:PrependToList]] \\   | 
| ==== Math ==== | ==== Math ==== | 
 |  | 
| [[4rpl:commands:abs]] \\  [[4rpl:commands:acos]] \\  [[4rpl:commands:approximately]] \\  [[4rpl:commands:asin]] \\  [[4rpl:commands:atan2]] \\  [[4rpl:commands:atan]] \\  [[4rpl:commands:avg2]] \\  [[4rpl:commands:ceil]] \\  [[4rpl:commands:cos]] \\  [[4rpl:commands:floor]] \\  [[4rpl:commands:ln]] \\  [[4rpl:commands:log10]] \\  [[4rpl:commands:log]] \\  [[4rpl:commands:max]] \\  [[4rpl:commands:min]] \\  [[4rpl:commands:neg]] \\  [[4rpl:commands:round]] \\  [[4rpl:commands:sign0]] \\  [[4rpl:commands:sign]] \\  [[4rpl:commands:sin]] \\  [[4rpl:commands:sqrt]] \\  [[4rpl:commands:tan]] \\ | [[4rpl:commands:abs]] \\    | 
|   | [[4rpl:commands:acos]] \\    | 
|   | [[4rpl:commands:approximately]] \\    | 
|   | [[4rpl:commands:asin]] \\    | 
|   | [[4rpl:commands:atan2]] \\    | 
|   | [[4rpl:commands:atan]] \\    | 
|   | [[4rpl:commands:avg2]] \\    | 
|   | [[4rpl:commands:ceil]] \\    | 
|   | [[4rpl:commands:cos]] \\    | 
|   | [[4rpl:commands:floor]] \\    | 
|   | [[4rpl:commands:ln]] \\    | 
|   | [[4rpl:commands:log10]] \\    | 
|   | [[4rpl:commands:log]] \\    | 
|   | [[4rpl:commands:max]] \\    | 
|   | [[4rpl:commands:maxint]] \\    | 
|   | [[4rpl:commands:min]] \\   | 
|   | [[4rpl:commands:minint]] \\     | 
|   | [[4rpl:commands:neg]] \\    | 
|   | [[4rpl:commands:round]] \\    | 
|   | [[4rpl:commands:sign0]] \\    | 
|   | [[4rpl:commands:sign]] \\    | 
|   | [[4rpl:commands:sin]] \\    | 
|   | [[4rpl:commands:sqrt]] \\    | 
|   | [[4rpl:commands:tan]] \\ | 
 |  | 
| </WRAP> | </WRAP> | 
| ==== Math Utility ==== | ==== Math Utility ==== | 
 |  | 
| [[4rpl:commands:BallisticArcLateral]] \\  [[4rpl:commands:BallisticArcPos]] \\  [[4rpl:commands:clamp01]] \\  [[4rpl:commands:clamp]] \\  [[4rpl:commands:DistanceCell]] \\  [[4rpl:commands:DistancePointLine]] \\  [[4rpl:commands:Distance]] \\ [[4rpl:commands:FC]] \\  [[4rpl:commands:MoveTowards]] \\  [[4rpl:commands:RandFloat]] \\  [[4rpl:commands:RandInt]] \\  [[4rpl:commands:RotateTowardsCell]] \\  [[4rpl:commands:RotateTowards]] \\  [[4rpl:commands:ShortestAngle]] \\  [[4rpl:commands:SignalGenerator]] \\   [[4rpl:commands:UFC]] \\ [[4rpl:commands:VectorAngleCell]] \\  [[4rpl:commands:VectorAngle]] \\ | [[4rpl:commands:BallisticArcLateral]] \\    | 
|   | [[4rpl:commands:BallisticArcPos]] \\    | 
|   | [[4rpl:commands:clamp01]] \\    | 
|   | [[4rpl:commands:clamp]] \\    | 
|   | [[4rpl:commands:DistanceCell]] \\    | 
|   | [[4rpl:commands:DistancePointLine]] \\    | 
|   | [[4rpl:commands:Distance]] \\   | 
|   | [[4rpl:commands:FC]] \\    | 
|   | [[4rpl:commands:MoveTowards]] \\   | 
|   | [[4rpl:commands:NumRepeat]] \\   | 
|   | [[4rpl:commands:PingPong]] \\  | 
|   | [[4rpl:commands:RandFloat]] \\    | 
|   | [[4rpl:commands:RandInt]] \\    | 
|   | [[4rpl:commands:RotateTowardsCell]] \\    | 
|   | [[4rpl:commands:RotateTowards]] \\    | 
|   | [[4rpl:commands:ShortestAngle]] \\    | 
|   | [[4rpl:commands:SignalGenerator]] \\     | 
|   | [[4rpl:commands:UFC]] \\   | 
|   | [[4rpl:commands:VectorAngleCell]] \\    | 
|   | [[4rpl:commands:VectorAngle]] \\ | 
 |  | 
| </WRAP> | </WRAP> | 
| ==== Data ==== | ==== Data ==== | 
 |  | 
| [[4rpl:commands:asfloat]] \\  [[4rpl:commands:asint]] \\  [[4rpl:commands:asstring]] \\  [[4rpl:commands:IsNull]] \\  [[4rpl:commands:NULL]] \\  Type [[4rpl:commands:GetType|Get ]]\\ | [[4rpl:commands:AsFloat]] \\  [[4rpl:commands:AsInt]] \\  [[4rpl:commands:AsString]] \\  [[4rpl:commands:IsNull]] \\  [[4rpl:commands:NULL]] \\  Type [[4rpl:commands:GetType|Get ]]\\ | 
 |  | 
| </WRAP> | </WRAP> | 
| ==== Game ==== | ==== Game ==== | 
 |  | 
| ADALogOpen  [[4rpl:commands:GetADALogOpen|Get]] | [[4rpl:commands:SetADALogOpen|Set]] \\  [[4rpl:commands:ApplyToDamageMap]]\\  [[4rpl:commands:BounceFadeBlack]]\\  [[4rpl:commands:Cancel]]\\  CanMoveUnits  [[4rpl:commands:GetCanMoveUnits|Get]] | [[4rpl:commands:SetCanMoveUnits|Set]] \\  [[4rpl:commands:CloseGameMessage]]\\  CModEditMenuName  [[4rpl:commands:SetCModEditMenuName|Set]] \\  CModPlayerMenuName  [[4rpl:commands:SetCModPlayerMenuName|Set]] \\  CreeperGraphAvailable  [[4rpl:commands:SetCreeperGraphAvailable|Set]] \\  [[4rpl:commands:DamageMesh]] \\   | ADALogOpen  [[4rpl:commands:GetADALogOpen|Get]] | [[4rpl:commands:SetADALogOpen|Set]] \\  [[4rpl:commands:ApplyToDamageMap]]\\    | 
|   | BuildUnit  [[4rpl:commands:GetBuildUnit|Get]] \\  | 
|   | [[4rpl:commands:BounceFadeBlack]] \\    | 
|   | [[4rpl:commands:Cancel]] \\    | 
|   | CanMoveUnits  [[4rpl:commands:GetCanMoveUnits|Get]] | [[4rpl:commands:SetCanMoveUnits|Set]] \\  [[4rpl:commands:CloseGameMessage]] \\    | 
|   | CModEditMenuName  [[4rpl:commands:SetCModEditMenuName|Set]] \\    | 
|   | CModPlayerMenuName  [[4rpl:commands:SetCModPlayerMenuName|Set]] \\    | 
|   | CreeperGraphAvailable  [[4rpl:commands:SetCreeperGraphAvailable|Set]] \\    | 
|   | [[4rpl:commands:DamageMesh]] \\    | 
|   | DarkCell [[4rpl:commands:getDarkCell|Get]] | [[4rpl:commands:setDarkCell|Set]] \\ | 
| DepartButtonAvailable  [[4rpl:commands:SetDepartButtonAvailable|Set]] \\  | DepartButtonAvailable  [[4rpl:commands:SetDepartButtonAvailable|Set]] \\  | 
| EcoCounts  [[4rpl:commands:GetEcoCounts|Get]] \\  EditMode  [[4rpl:commands:GetEditMode|Get]] \\  EnergyBonus [[4rpl:commands:GetEnergyBonus|Get]] \\  EnergyEco  [[4rpl:commands:GetEnergyEco|Get]] \\  EnergyGeneration  [[4rpl:commands:GetEnergyGeneration|Get]] \\  EnergyStore  [[4rpl:commands:GetEnergyStore|Get]] \\  EnergyUse  [[4rpl:commands:GetEnergyUse|Get]] \\  [[4rpl:commands:ElapsedTime]]\\ FieldCell [[4rpl:commands:GetFieldCell|Get]] | [[4rpl:commands:SetFieldCell|Set]] \\ FieldRect  [[4rpl:commands:SetFieldRect|Set]] \\  FinalDialogOpen  [[4rpl:commands:GetFinalDialogOpen|Get]] \\  [[4rpl:commands:FindUnitEnemy]]\\ GameFrameCount  [[4rpl:commands:GetGameFrameCount|Get]] \\ GameMessageText  [[4rpl:commands:SetGameMessageText|Set]] \\  GameTickCount  [[4rpl:commands:GetGameTickCount|Get]] \\  GameUpdateCount  [[4rpl:commands:GetGameUpdateCount|Get]] \\ | EcoCounts  [[4rpl:commands:GetEcoCounts|Get]] \\    | 
|   | EditMode  [[4rpl:commands:GetEditMode|Get]] \\    | 
|   | EnergyBonus [[4rpl:commands:GetEnergyBonus|Get]] \\    | 
|   | EnergyEco  [[4rpl:commands:GetEnergyEco|Get]] \\    | 
|   | EnergyGeneration  [[4rpl:commands:GetEnergyGeneration|Get]] \\    | 
|   | EnergyStore  [[4rpl:commands:GetEnergyStore|Get]] \\    | 
|   | EnergyUse  [[4rpl:commands:GetEnergyUse|Get]] \\    | 
|   | [[4rpl:commands:ElapsedTime]]\\ FieldCell [[4rpl:commands:GetFieldCell|Get]] | [[4rpl:commands:SetFieldCell|Set]] \\ FieldRect  [[4rpl:commands:SetFieldRect|Set]] \\  FinalDialogOpen  [[4rpl:commands:GetFinalDialogOpen|Get]] \\  [[4rpl:commands:FindUnitEnemy]]\\ GameFrameCount  [[4rpl:commands:GetGameFrameCount|Get]] \\ GameMessageText  [[4rpl:commands:SetGameMessageText|Set]] \\  GameTickCount  [[4rpl:commands:GetGameTickCount|Get]] \\  GameUpdateCount  [[4rpl:commands:GetGameUpdateCount|Get]] \\ | 
| [[4rpl:commands:GenerateEnergy]] \\   | [[4rpl:commands:GenerateEnergy]] \\   | 
| [[4rpl:commands:GetBuildUnit]] \\  | [[4rpl:commands:InvocationCount]] \\    | 
| [[4rpl:commands:InvocationCount]] \\  [[4rpl:commands:IsADAMessageRead]]\\  [[4rpl:commands:IsADAMessageShowing]]\\  [[4rpl:commands:IsBuildUnitSelected]]\\  [[4rpl:commands:IsGameMessageShowing]] \\  | [[4rpl:commands:IsADAMessageRead]] \\    | 
| [[4rpl:commands:IsV2InMap]]\\  [[4rpl:commands:IsV3InMap]]\\  LastExecutionCount  [[4rpl:commands:GetLastExecutionCount|Get]] \\  MapSize  [[4rpl:commands:GetMapSize|Get]] \\ | [[4rpl:commands:IsADAMessageShowing]] \\    | 
|   | [[4rpl:commands:IsBuildUnitSelected]] \\    | 
|   | [[4rpl:commands:IsGameMessageShowing]] \\  | 
|   | [[4rpl:commands:IsV2InMap]]\\  [[4rpl:commands:IsV3InMap]] \\   | 
|   | LastExecutionCount  [[4rpl:commands:GetLastExecutionCount|Get]] \\    | 
|   | MapSize  [[4rpl:commands:GetMapSize|Get]] \\ | 
| MeshHealth [[4rpl:commands:GetMeshHealth|Get]] | [[4rpl:commands:SetMeshHealth|Set]] \\    | MeshHealth [[4rpl:commands:GetMeshHealth|Get]] | [[4rpl:commands:SetMeshHealth|Set]] \\    | 
| NearestAirSac  [[4rpl:commands:GetNearestAirSac|Get]] \\  NearestSniperTarget  [[4rpl:commands:GetNearestSniperTarget|Get]] \\  NearestSpore  [[4rpl:commands:GetNearestSpore|Get]] \\  OpenBuildTab  [[4rpl:commands:GetOpenBuildTab|Get]] \\  OrbitalCount  [[4rpl:commands:GetOrbitalCount|Get]] | [[4rpl:commands:SetOrbitalCount|Set]] \\  Pause  [[4rpl:commands:GetPause|Get]] | [[4rpl:commands:SetPause|Set]] \\  RandMapCell  [[4rpl:commands:GetRandMapCell|Get]] \\  [[4rpl:commands:RefreshUnitLosCache]]\\    | NearestAirSac  [[4rpl:commands:GetNearestAirSac|Get]] \\    | 
| [[4rpl:commands:RemoveUnitDamageMap]]\\  SelectedUnits  [[4rpl:commands:GetSelectedUnits|Get]] \\    [[4rpl:commands:ShowADAMessage]]\\  [[4rpl:commands:ShowADAMessageAtCell]]\\  [[4rpl:commands:ShowADAMessageAtUnit]]\\  [[4rpl:commands:ShowGameMessage]]\\  [[4rpl:commands:ShowUIIndicator]]\\ SoylentCount [[4rpl:commands:SetSoylentCount|Set]]\\ SoylentDelay [[4rpl:commands:SetSoylentDelay|Set]]\\  SoylentMode  [[4rpl:commands:GetSoylentMode|Get]] | [[4rpl:commands:SetSoylentMode|Set]]\\ [[4rpl:commands:StopConsole]]\\  [[4rpl:commands:SuppressTotemActivation]]\\   | NearestSniperTarget  [[4rpl:commands:GetNearestSniperTarget|Get]] \\    | 
|   | NearestSpore  [[4rpl:commands:GetNearestSpore|Get]] \\    | 
|   | OpenBuildTab  [[4rpl:commands:GetOpenBuildTab|Get]] \\    | 
|   | OrbitalCount  [[4rpl:commands:GetOrbitalCount|Get]] | [[4rpl:commands:SetOrbitalCount|Set]] \\    | 
|   | Pause  [[4rpl:commands:GetPause|Get]] | [[4rpl:commands:SetPause|Set]] \\    | 
|   | RandMapCell  [[4rpl:commands:GetRandMapCell|Get]] \\    | 
|   | [[4rpl:commands:RefreshUnitLosCache]] \\    | 
|   | [[4rpl:commands:RemoveUnitDamageMap]] \\    | 
|   | SelectedUnits  [[4rpl:commands:GetSelectedUnits|Get]] \\      | 
|   | [[4rpl:commands:ShowADAMessage]] \\    | 
|   | [[4rpl:commands:ShowADAMessageAtCell]] \\    | 
|   | [[4rpl:commands:ShowADAMessageAtUnit]] \\    | 
|   | [[4rpl:commands:ShowGameMessage]] \\    | 
|   | [[4rpl:commands:ShowUIIndicator]] \\   | 
|   | SoylentCount [[4rpl:commands:SetSoylentCount|Set]] \\   | 
|   | SoylentDelay [[4rpl:commands:SetSoylentDelay|Set]] \\    | 
|   | SoylentMode  [[4rpl:commands:GetSoylentMode|Get]] | [[4rpl:commands:SetSoylentMode|Set]] \\   | 
|   | [[4rpl:commands:StopConsole]]\\  [[4rpl:commands:SuppressTotemActivation]] \\   | 
| TerraformActiveCell  [[4rpl:commands:SetTerraformActiveCell|Set]] \\ | TerraformActiveCell  [[4rpl:commands:SetTerraformActiveCell|Set]] \\ | 
| TerraformDigSite  [[4rpl:commands:GetTerraformDigSite|Get]] \\ | TerraformDigSite  [[4rpl:commands:GetTerraformDigSite|Get]] \\ | 
| TerraformMarker  [[4rpl:commands:GetTerraformMarker|Get]] | [[4rpl:commands:SetTerraformMarker|Set]] \\  TerraformMenuOpen  [[4rpl:commands:GetTerraformMenuOpen|Get]] \\  TimeString  [[4rpl:commands:GetTimeString|Get]] \\   | TerraformMarker  [[4rpl:commands:GetTerraformMarker|Get]] | [[4rpl:commands:SetTerraformMarker|Set]] \\    | 
|   | TerraformMenuOpen  [[4rpl:commands:GetTerraformMenuOpen|Get]] \\    | 
|   | TimeString  [[4rpl:commands:GetTimeString|Get]] \\   | 
| UnderCreeperEffectEnabled [[4rpl:commands:GetUnderCreeperEffectEnabled|Get]] | [[4rpl:commands:SetUnderCreeperEffectEnabled|Set]] \\ | UnderCreeperEffectEnabled [[4rpl:commands:GetUnderCreeperEffectEnabled|Get]] | [[4rpl:commands:SetUnderCreeperEffectEnabled|Set]] \\ | 
| UnitsSelectable  [[4rpl:commands:SetUnitsSelectable|Set]] \\ | UnitsSelectable  [[4rpl:commands:SetUnitsSelectable|Set]] \\ | 
| ==== Unit ==== | ==== Unit ==== | 
| <wrap note>//<sub>Note</sub>//[(core>Rift Lab, ERN Portal, and Factory are in [[4RPL:start#core_units|Core Units]])]</wrap> \\  | <wrap note>//<sub>Note</sub>//[(core>Rift Lab, ERN Portal, and Factory are in [[4RPL:start#core_units|Core Units]])]</wrap> \\  | 
| AllLegalUnitCells [[4rpl:commands:SetAllLegalUnitCells|Set]]\\ CellOccupiedCount [[4rpl:commands:GetCellOccupiedCount|Get]] | [[4rpl:commands:SetCellOccupiedCount|Set]]\\   [[4rpl:commands:ClearUnitStun]]  \\   | AllLegalUnitCells [[4rpl:commands:SetAllLegalUnitCells|Set]] \\   | 
|   | CellOccupiedCount [[4rpl:commands:GetCellOccupiedCount|Get]] | [[4rpl:commands:SetCellOccupiedCount|Set]] \\   [[4rpl:commands:ClearUnitStun]]  \\   | 
| [[4rpl:commands:ConstructUnit]] \\ | [[4rpl:commands:ConstructUnit]] \\ | 
| [[4rpl:commands:CreateUnit]]  \\  [[4rpl:commands:CreateUnitOnTerrain]]  \\  [[4rpl:commands:DamageUnit]]  \\  [[4rpl:commands:DeployUnitShield]]  \\  [[4rpl:commands:DestroyUnit]]  \\      | [[4rpl:commands:CreateUnit]]  \\    | 
| LegalUnitCells [[4rpl:commands:SetLegalUnitCells|Set]]\\  MinerMode [[4rpl:commands:GetMinerMode|Get]]\\  [[4rpl:commands:MoveTowardsAndAvoid]]  \\  [[4rpl:commands:MoveTowardsCellAndAvoid]]  \\    | [[4rpl:commands:CreateUnitOnTerrain]]  \\    | 
| NearestSpecialTarget [[4rpl:commands:NearestSpecialTarget]|Get]]  \\   | [[4rpl:commands:DamageUnit]]  \\    | 
| [[4rpl:commands:RotateUnit]]  \\  [[4rpl:commands:RotateUnitTowards]]  \\  [[4rpl:commands:RotateUnitTowardsCell]]  \\  Script1Var [[4rpl:commands:GetScript1Var|Get]] | [[4rpl:commands:SetScript1Var|Set]] \\  ScriptVar [[4rpl:commands:GetScriptVar|Get]] | [[4rpl:commands:SetScriptVar|Set]] \\      | [[4rpl:commands:DeployUnitShield]]  \\    | 
| SpecialTargets [[4rpl:commands:SpecialTargets]|Get]]  \\    | [[4rpl:commands:DestroyUnit]]  \\      | 
| [[4rpl:commands:StunUnit]]  \\  [[4rpl:commands:StunUnitsInRange]]  \\  TotemActivated [[4rpl:commands:GetTotemActivated|Get]] | [[4rpl:commands:SetTotemActivated|Set]] \\  UnitAmmoWare [[4rpl:commands:GetUnitAmmoWare|Get]] | [[4rpl:commands:SetUnitAmmoWare|Set]] \\  UnitBuildLimit [[4rpl:commands:GetUnitBuildLimit|Get]] | [[4rpl:commands:SetUnitBuildLimit|Set]] \\  UnitBuildWare [[4rpl:commands:GetUnitBuildWare|Get]] | [[4rpl:commands:SetUnitBuildWare|Set]] \\  UnitCanBuild [[4rpl:commands:GetUnitCanBuild|Get]] | [[4rpl:commands:SetUnitCanBuild|Set]] \\  UnitCell [[4rpl:commands:GetUnitCell|Get]] | [[4rpl:commands:SetUnitCell|Set]] \\  UnitConnectedToRiftLab [[4rpl:commands:GetUnitConnectedToRiftLab|Get]]\\  UnitConstructing [[4rpl:commands:GetUnitConstructing|Get]]\\  UnitConstructingData [[4rpl:commands:GetUnitConstructingData|Get]]\\  UnitCount [[4rpl:commands:GetUnitCount|Get]]\\  UnitDebugText [[4rpl:commands:SetUnitDebugText|Set]]\\  UnitERNSimulated [[4rpl:commands:GetUnitERNSimulated|Get]] |[[4rpl:commands:SetUnitERNSimulated|Set]]\\  UnitForward [[4rpl:commands:GetUnitForward|Get]] | [[4rpl:commands:SetUnitForward|Set]] \\ | LegalUnitCells [[4rpl:commands:SetLegalUnitCells|Set]] \\    | 
|   | MinerMode [[4rpl:commands:GetMinerMode|Get]] \\    | 
|   | [[4rpl:commands:MoveTowardsAndAvoid]]  \\    | 
|   | [[4rpl:commands:MoveTowardsCellAndAvoid]]  \\    | 
|   | NearestSpecialTarget [[4rpl:commands:GetNearestSpecialTarget]|Get]]  \\   | 
|   | [[4rpl:commands:RotateUnit]]  \\    | 
|   | [[4rpl:commands:RotateUnitTowards]]  \\    | 
|   | [[4rpl:commands:RotateUnitTowardsCell]]  \\    | 
|   | Script1Var [[4rpl:commands:GetScript1Var|Get]] | [[4rpl:commands:SetScript1Var|Set]] \\    | 
|   | ScriptVar [[4rpl:commands:GetScriptVar|Get]] | [[4rpl:commands:SetScriptVar|Set]] \\      | 
|   | SpecialTargets [[4rpl:commands:GetSpecialTargets]|Get]]  \\    | 
|   | [[4rpl:commands:StunUnit]]  \\    | 
|   | [[4rpl:commands:StunUnitsInRange]]  \\    | 
|   | TotemActivated [[4rpl:commands:GetTotemActivated|Get]] | [[4rpl:commands:SetTotemActivated|Set]] \\    | 
|   | UnitAmmoWare [[4rpl:commands:GetUnitAmmoWare|Get]] | [[4rpl:commands:SetUnitAmmoWare|Set]] \\    | 
|   | UnitBuildLimit [[4rpl:commands:GetUnitBuildLimit|Get]] | [[4rpl:commands:SetUnitBuildLimit|Set]] \\   | 
|   |  UnitBuildWare [[4rpl:commands:GetUnitBuildWare|Get]] | [[4rpl:commands:SetUnitBuildWare|Set]] \\   | 
|   |  UnitCanBuild [[4rpl:commands:GetUnitCanBuild|Get]] | [[4rpl:commands:SetUnitCanBuild|Set]] \\    | 
|   | UnitCell [[4rpl:commands:GetUnitCell|Get]] | [[4rpl:commands:SetUnitCell|Set]] \\    | 
|   | UnitConnectedToRiftLab [[4rpl:commands:GetUnitConnectedToRiftLab|Get]] \\    | 
|   | UnitConstructing [[4rpl:commands:GetUnitConstructing|Get]] \\    | 
|   | UnitConstructingData [[4rpl:commands:GetUnitConstructingData|Get]] \\    | 
|   | UnitCount [[4rpl:commands:GetUnitCount|Get]] \\    | 
|   | UnitDebugText [[4rpl:commands:SetUnitDebugText|Set]] \\    | 
|   | UnitERNSimulated [[4rpl:commands:GetUnitERNSimulated|Get]] |[[4rpl:commands:SetUnitERNSimulated|Set]] \\    | 
|   | UnitForward [[4rpl:commands:GetUnitForward|Get]] | [[4rpl:commands:SetUnitForward|Set]] \\ | 
| UnitInCreeper [[4rpl:commands:GetUnitInCreeper|Get]] \\ | UnitInCreeper [[4rpl:commands:GetUnitInCreeper|Get]] \\ | 
| UnitMiniMapImage [[4rpl:commands:SetUnitMiniMapImage|Set]]\\  UnitMiniMapImageColor [[4rpl:commands:SetUnitMiniMapImageColor|Set]]\\  UnitMiniMapText [[4rpl:commands:SetUnitMiniMapText|Set]]\\  UnitMiniMapTimeToEvent [[4rpl:commands:SetUnitMiniMapTimeToEvent|Set]]\\  UnitMoveCell [[4rpl:commands:GetUnitMoveCell|Get]] | [[4rpl:commands:SetUnitMoveCell|Set]] \\ UnitOrientation [[4rpl:commands:GetUnitOrientation|Get]] | [[4rpl:commands:SetUnitOrientation|Set]] \\ UnitOutlineColor [[4rpl:commands:SetUnitOutlineColor|Set]]\\  UnitOutlineEnabled [[4rpl:commands:SetUnitOutlineEnabled|Set]]\\  UnitOutlineMode [[4rpl:commands:SetUnitOutlineMode|Set]]\\  UnitOutlineWidth [[4rpl:commands:SetUnitOutlineWidth|Set]]\\  UnitPopupEnabled [[4rpl:commands:SetUnitPopupEnabled|Set]]\\  UnitPopupText0 [[4rpl:commands:SetUnitPopupText0|Set]]\\  UnitPopupText1 [[4rpl:commands:SetUnitPopupText1|Set]]\\  UnitPosition [[4rpl:commands:GetUnitPosition|Get]] | [[4rpl:commands:SetUnitPosition|Set]] \\  UnitRotation [[4rpl:commands:GetUnitRotation|Get]] | [[4rpl:commands:SetUnitRotation|Set]] \\  UnitsByType [[4rpl:commands:GetUnitsByType|Get]]\\  UnitSelectable [[4rpl:commands:GetUnitSelectable|Get]] | [[4rpl:commands:SetUnitSelectable|Set]] \\  UnitSelected [[4rpl:commands:GetUnitSelected|Get]] | [[4rpl:commands:SetUnitSelected|Set]] \\  UnitShieldRange [[4rpl:commands:GetUnitShieldRange|Get]] | [[4rpl:commands:SetUnitShieldRange|Set]] \\  UnitShieldVisible [[4rpl:commands:SetUnitShieldVisible|Set]]\\  Units [[4rpl:commands:GetUnits|Get]]\\  UnitsInRange [[4rpl:commands:GetUnitsInRange|Get]]\\  UnitSettings [[4rpl:commands:GetUnitSettings|Get]] | [[4rpl:commands:SetUnitSettings|Set]] \\    | UnitIgnoreDark [[4rpl:commands:getUnitIgnoreDark|Get]] | [[4rpl:commands:setUnitIgnoreDark|Set]] \\  | 
| UnitSpecifiedTarget [[4rpl:commands:GetUnitSpecifiedTarget|Get]] | [[4rpl:commands:SetUnitSpecifiedTarget|Set]]  | [[4rpl:commands:ClearUnitSpecifiedTarget|Clear]] \\  UnitSpecifiedTargetOccupiesMap [[4rpl:commands:SetUnitSpecifiedTargetOccupiesMap|Set]]\\  UnitSpecifiedTargetPathHeight [[4rpl:commands:SetUnitSpecifiedTargetPathHeight|Set]]\\  UnitSpecifiedTargetPathSourceOffset [[4rpl:commands:SetUnitSpecifiedTargetPathSourceOffset|Set]]\\  UnitSpecifiedTargetShowPath [[4rpl:commands:SetUnitSpecifiedTargetShowPath|Set]]\\    | UnitMiniMapImage [[4rpl:commands:SetUnitMiniMapImage|Set]] \\    | 
|   | UnitMiniMapImageColor [[4rpl:commands:SetUnitMiniMapImageColor|Set]] \\    | 
|   | UnitMiniMapText [[4rpl:commands:SetUnitMiniMapText|Set]] \\    | 
|   | UnitMiniMapTimeToEvent [[4rpl:commands:SetUnitMiniMapTimeToEvent|Set]] \\   | 
|   | UnitMoveCell [[4rpl:commands:GetUnitMoveCell|Get]] | [[4rpl:commands:SetUnitMoveCell|Set]] \\   | 
|   | UnitOrientation [[4rpl:commands:GetUnitOrientation|Get]] | [[4rpl:commands:SetUnitOrientation|Set]] \\   | 
|   | UnitOutlineColor [[4rpl:commands:SetUnitOutlineColor|Set]] \\    | 
|   | UnitOutlineEnabled [[4rpl:commands:SetUnitOutlineEnabled|Set]] \\    | 
|   | UnitOutlineMode [[4rpl:commands:SetUnitOutlineMode|Set]] \\    | 
|   | UnitOutlineWidth [[4rpl:commands:SetUnitOutlineWidth|Set]] \\    | 
|   | UnitPopupEnabled [[4rpl:commands:SetUnitPopupEnabled|Set]] \\    | 
|   | UnitPopupText0 [[4rpl:commands:SetUnitPopupText0|Set]] \\    | 
|   | UnitPopupText1 [[4rpl:commands:SetUnitPopupText1|Set]] \\    | 
|   | UnitPosition [[4rpl:commands:GetUnitPosition|Get]] | [[4rpl:commands:SetUnitPosition|Set]] \\    | 
|   | UnitRotation [[4rpl:commands:GetUnitRotation|Get]] | [[4rpl:commands:SetUnitRotation|Set]] \\    | 
|   | UnitsByType [[4rpl:commands:GetUnitsByType|Get]]\\  UnitSelectable [[4rpl:commands:GetUnitSelectable|Get]] | [[4rpl:commands:SetUnitSelectable|Set]] \\    | 
|   | UnitSelected [[4rpl:commands:GetUnitSelected|Get]] | [[4rpl:commands:SetUnitSelected|Set]] \\    | 
|   | UnitShieldRange [[4rpl:commands:GetUnitShieldRange|Get]] | [[4rpl:commands:SetUnitShieldRange|Set]] \\    | 
|   | UnitShieldVisible [[4rpl:commands:SetUnitShieldVisible|Set]]\\  Units [[4rpl:commands:GetUnits|Get]] \\    | 
|   | UnitsInRange [[4rpl:commands:GetUnitsInRange|Get]] \\    | 
|   | UnitSettings [[4rpl:commands:GetUnitSettings|Get]] | [[4rpl:commands:SetUnitSettings|Set]] \\    | 
|   | UnitSpecifiedTarget [[4rpl:commands:GetUnitSpecifiedTarget|Get]] | [[4rpl:commands:SetUnitSpecifiedTarget|Set]]  | [[4rpl:commands:ClearUnitSpecifiedTarget|Clear]] \\    | 
|   | UnitSpecifiedTargetOccupiesMap [[4rpl:commands:SetUnitSpecifiedTargetOccupiesMap|Set]] \\   | 
|   | UnitSpecifiedTargetPathHeight [[4rpl:commands:SetUnitSpecifiedTargetPathHeight|Set]] \\  UnitSpecifiedTargetPathSourceOffset [[4rpl:commands:SetUnitSpecifiedTargetPathSourceOffset|Set]] \\  UnitSpecifiedTargetShowPath [[4rpl:commands:SetUnitSpecifiedTargetShowPath|Set]] \\    | 
| UnitSuppressedMovement [[4rpl:commands:GetUnitSuppressedMovement|Get]] | [[4rpl:commands:SetUnitSuppressedMovement|Set]] \\   | UnitSuppressedMovement [[4rpl:commands:GetUnitSuppressedMovement|Get]] | [[4rpl:commands:SetUnitSuppressedMovement|Set]] \\   | 
| UnitType [[4rpl:commands:GetUnitType|Get]] \\ | UnitType [[4rpl:commands:GetUnitType|Get]] \\ | 
| UnitTrueGuid [[4rpl:commands:GetUnitTrueGuid|Get]] \\    UnitUIOptions [[4rpl:commands:GetUnitUIOptions|Get]] | [[4rpl:commands:SetUnitUIOptions|Set]] \\  UnitUIState [[4rpl:commands:GetUnitUIState|Get]] | [[4rpl:commands:SetUnitUIState|Set]] \\  UnitUIText [[4rpl:commands:GetUnitUIText|Get]] | [[4rpl:commands:SetUnitUIText|Set]] \\  [[4rpl:commands:UseLegalUnitCells]]  \\  WallCharged [[4rpl:commands:SetWallCharged|Set]]\\ | UnitTrueGuid [[4rpl:commands:GetUnitTrueGuid|Get]] \\      | 
|   | UnitUIOptions [[4rpl:commands:GetUnitUIOptions|Get]] | [[4rpl:commands:SetUnitUIOptions|Set]] \\    | 
|   | UnitUIState [[4rpl:commands:GetUnitUIState|Get]] | [[4rpl:commands:SetUnitUIState|Set]] \\    | 
|   | UnitUIText [[4rpl:commands:GetUnitUIText|Get]] | [[4rpl:commands:SetUnitUIText|Set]] \\   | 
|   | UnitWantsErn [[4rpl:commands:getUnitWantsERN|Get]] | [[4rpl:commands:setUnitWantsERN|Set]] \\   [[4rpl:commands:UseLegalUnitCells]]  \\    | 
|   | WallCharged [[4rpl:commands:SetWallCharged|Set]] \\  | 
 |  | 
| </WRAP> | </WRAP> | 
| ==== IO ==== | ==== IO ==== | 
 |  | 
| CameraMode [[4rpl:commands:GetCameraMode|Get]] \\  CameraPosition [[4rpl:commands:GetCameraPosition|Get]]  |  [[4rpl:commands:SetCameraPosition|Set]] \\  CameraRotation [[4rpl:commands:GetCameraRotation|Get]]  |  [[4rpl:commands:SetCameraRotation|Set]] \\    | CameraMode [[4rpl:commands:GetCameraMode|Get]] \\    | 
| CameraTopDown [[4rpl:commands:GetCameraTopDown|Get]] |  [[4rpl:commands:SetCameraTopDown|Set]] \\    | CameraPosition [[4rpl:commands:GetCameraPosition|Get]]  |  [[4rpl:commands:SetCameraPosition|Set]] \\   | 
| DefaultCameraPosition [[4rpl:commands:GetDefaultCameraPosition|Get]] \\  Key [[4rpl:commands:GetKey|Get]] \\  KeyDown [[4rpl:commands:GetKeyDown|Get]] \\  MapPanEnabled [[4rpl:commands:SetMapPanEnabled|Set]] \\  MappedKey [[4rpl:commands:GetMappedKey|Get]] \\  MappedKeyDown [[4rpl:commands:GetMappedKeyDown|Get]] \\   | CameraRotation [[4rpl:commands:GetCameraRotation|Get]]  |  [[4rpl:commands:SetCameraRotation|Set]] \\   | 
|   | CameraTopDown [[4rpl:commands:GetCameraTopDown|Get]] |  [[4rpl:commands:SetCameraTopDown|Set]] \\   | 
|   | Key [[4rpl:commands:GetKey|Get]] \\    | 
|   | KeyDown [[4rpl:commands:GetKeyDown|Get]] \\    | 
|   | MapPanEnabled [[4rpl:commands:SetMapPanEnabled|Set]] \\    | 
|   | MappedKey [[4rpl:commands:GetMappedKey|Get]] \\    | 
|   | MappedKeyDown [[4rpl:commands:GetMappedKeyDown|Get]] \\   | 
| MappedKeyStrings [[4rpl:commands:GetMappedKeyStrings|Get]] \\ | MappedKeyStrings [[4rpl:commands:GetMappedKeyStrings|Get]] \\ | 
| MapRotateEnabled [[4rpl:commands:SetMapRotateEnabled|Set]] \\  MapZoomEnabled [[4rpl:commands:SetMapZoomEnabled|Set]] \\  MouseButton [[4rpl:commands:GetMouseButton|Get]] \\  MouseButtonDown [[4rpl:commands:GetMouseButtonDown|Get]] \\  MouseButtonUp [[4rpl:commands:GetMouseButtonUp|Get]] \\  MouseDelta [[4rpl:commands:GetMouseDelta|Get]] \\ MouseScrollDelta [[4rpl:commands:GetMouseScrollDelta|Get]] \\  PointerTerrainCoords [[4rpl:commands:GetPointerTerrainCoords|Get]] \\  [[4rpl:commands:ResetCamera]] \\   | MapRotateEnabled [[4rpl:commands:SetMapRotateEnabled|Set]] \\    | 
|   | MapZoomEnabled [[4rpl:commands:SetMapZoomEnabled|Set]] \\    | 
|   | MouseButton [[4rpl:commands:GetMouseButton|Get]] \\    | 
|   | MouseButtonDown [[4rpl:commands:GetMouseButtonDown|Get]] \\    | 
|   | MouseButtonUp [[4rpl:commands:GetMouseButtonUp|Get]] \\    | 
|   | MouseDelta [[4rpl:commands:GetMouseDelta|Get]] \\   | 
|   | MouseScrollDelta [[4rpl:commands:GetMouseScrollDelta|Get]] \\    | 
|   | PointerTerrainCoords [[4rpl:commands:GetPointerTerrainCoords|Get]] \\    | 
|   | [[4rpl:commands:ResetCamera]] \\   | 
| RPLCam [[4rpl:commands:SetRPLCam|Set]] \\  | RPLCam [[4rpl:commands:SetRPLCam|Set]] \\  | 
| RPLCamCursorLocked [[4rpl:commands:SetRPLCamCursorLocked|Set]] \\  | RPLCamCursorLock [[4rpl:commands:SetRPLCamCursorLock|Set]] \\  | 
| RPLCamForward [[4rpl:commands:GetRPLCamForward|Get]] | [[4rpl:commands:SetRPLCamForward|Set]] \\ | RPLCamForward [[4rpl:commands:GetRPLCamForward|Get]] | [[4rpl:commands:SetRPLCamForward|Set]] \\ | 
| RPLCamRight [[4rpl:commands:GetRPLCamRight|Get]] | [[4rpl:commands:SetRPLCamRight|Set]] \\ | RPLCamRight [[4rpl:commands:GetRPLCamRight|Get]] | [[4rpl:commands:SetRPLCamRight|Set]] \\ | 
| <WRAP column> | <WRAP column> | 
 |  | 
| ==== Eggs/Orbs ====  | ==== Eggs/Orbs ====   | 
|   | <sup>See [[4rpl:commands:Egg\Orb Coding Details]]</sup> \\  | 
| [[4rpl:commands:CreateEgg]] \\  [[4rpl:commands:CreateOrb]] \\  EggOrbData [[4rpl:commands:SetEggOrbData|Set ]]\\ | [[4rpl:commands:CreateEgg]] \\    | 
|   | [[4rpl:commands:CreateOrb]] \\   | 
|   | EggOrbData [[4rpl:commands:SetEggOrbData|Set ]]\\ | 
 |  | 
| </WRAP> | </WRAP> |