User Tools

Site Tools


4rpl:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:start [2022/09/03 15:07] – added "See" for Llists and tables pointing to special syntax Karsten754rpl:start [2024/03/30 22:52] (current) – GetSpecialTargets karsten75
Line 69: Line 69:
 ==== 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]] \\
  
 \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\
Line 83: Line 83:
 ==== 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]] \\
  
 \\ \\ \\ \\
Line 97: Line 97:
 ==== 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>
Line 168: Line 168:
 ==== 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]] \\  
Line 186: Line 187:
  
 ==== 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:commands:ClearPrintLog]] \\ [[4rpl:commands:ClearPrintLog]] \\
Line 216: Line 217:
 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]] \\  
 +ListIndex  [[4rpl:commands:GetListIndex|Get]] \\  
 +ListIndices  [[4rpl:commands:GetListIndices|Get]] \\  
 [[4rpl:commands:ListN]] \\   [[4rpl:commands:ListN]] \\  
 [[4rpl:commands:PopList]] \\   [[4rpl:commands:PopList]] \\  
Line 247: Line 250:
 ==== 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>
Line 273: Line 276:
 ==== 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]] \\  
 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:IsADAMessageRead]]\\  [[4rpl:commands:IsADAMessageShowing]]\\  [[4rpl:commands:IsBuildUnitSelected]]\\  [[4rpl:commands:IsGameMessageShowing]] \\ [[4rpl:commands:InvocationCount]] \\  [[4rpl:commands:IsADAMessageRead]]\\  [[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]] \\ [[4rpl:commands:IsV2InMap]]\\  [[4rpl:commands:IsV3InMap]]\\  LastExecutionCount  [[4rpl:commands:GetLastExecutionCount|Get]] \\  MapSize  [[4rpl:commands:GetMapSize|Get]] \\
Line 299: Line 303:
 [[4rpl:commands:CreateUnit]]  \\  [[4rpl:commands:CreateUnitOnTerrain]]  \\  [[4rpl:commands:DamageUnit]]  \\  [[4rpl:commands:DeployUnitShield]]  \\  [[4rpl:commands:DestroyUnit]]  \\     [[4rpl:commands:CreateUnit]]  \\  [[4rpl:commands:CreateUnitOnTerrain]]  \\  [[4rpl:commands:DamageUnit]]  \\  [[4rpl:commands:DeployUnitShield]]  \\  [[4rpl:commands:DestroyUnit]]  \\    
 LegalUnitCells [[4rpl:commands:SetLegalUnitCells|Set]]\\  MinerMode [[4rpl:commands:GetMinerMode|Get]]\\  [[4rpl:commands:MoveTowardsAndAvoid]]  \\  [[4rpl:commands:MoveTowardsCellAndAvoid]]  \\   LegalUnitCells [[4rpl:commands:SetLegalUnitCells|Set]]\\  MinerMode [[4rpl:commands:GetMinerMode|Get]]\\  [[4rpl:commands:MoveTowardsAndAvoid]]  \\  [[4rpl:commands:MoveTowardsCellAndAvoid]]  \\  
-NearestSpecialTarget [[4rpl:commands:NearestSpecialTarget]|Get]]  \\ +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]] \\     [[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:SpecialTargets]|Get]]  \\  +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]] \\ [[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]] \\
Line 352: Line 356:
 ==== 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]] \\
Line 417: Line 435:
 <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>
4rpl/start.1662232057.txt.gz · Last modified: 2022/09/03 15:07 by Karsten75