User Tools

Site Tools


ixe:irpl: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
ixe:irpl:start [2024/12/30 12:36] karsten75ixe:irpl:start [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ======  IRPL Reference ====== ======  IRPL Reference ======
  
-//Rough dump of all IRPL commands pending correct formatting of this list//+The syntax for IRPL is similar to the language syntax from previous games. For a tutorial, see [[4rpl:overview | 4RPL Overview]].
  
-==== Unit ====+An [[index]] of all commands in IRPL.
  
- Self \\ 
- GetParent \\ 
- GetChildren \\ 
- GetChild \\ 
- GetName \\ 
- GetActive \\ 
- GetDestroyed \\ 
- SetActive \\ 
- GetPosition \\ 
- GetLocalPosition \\ 
- GetRotation \\ 
- GetLocalRotation \\ 
- SetPosition \\ 
- SetLocalPosition \\ 
- SetRotation \\ 
- MoveRotation \\ 
- TransformPoint \\ 
- SetLocalRotation \\ 
- CreateUnit \\ 
- MoveUnit \\ 
- SetUnitDirection \\ 
- RotateUnitTowards \\ 
- GetUnitUpdateCount \\ 
- Destroy \\ 
- IsDestroyActionEnabled \\ 
- EnableLos \\ 
- GetLosRange \\ 
- SetLosRange \\ 
- GetLosSandPassBits \\ 
- SetLosSandPassBits \\ 
- GetLos \\ 
- EnableRa \\ 
- GetRaRange \\ 
- SetRaRange \\ 
- GetRaPath \\ 
- EnableTerpScan \\ 
- GetTerpScanResult \\ 
- SetHarvestSandDef \\ 
- GetTerpScanHarvestResult \\ 
- GetRandPixelDataPos \\ 
- GetPartData \\ 
- DefaultConfig \\ 
- ReadConfig \\ 
- WriteConfig \\ 
- GetLog \\ 
- GetShowRange \\ 
- SetShowRange \\ 
- GetShowRangeColor \\ 
- SetShowRangeColor \\ 
- SetColor \\ 
- GetPhysicsVelocity \\ 
- SetPhysicsVelocity \\ 
- AddPhysicsForce \\ 
- GetPixelCount \\ 
- GetAllPixelCount \\ 
- GetOnBoardComplete \\ 
- GetUnitsByName \\ 
- GetUnitsInRange \\ 
- GetNullifiableUnitsInRange \\ 
- GetShotHitUnitsInRange \\ 
- GetAmmo \\ 
- SetAmmo \\   
- GetMaxAmmo 
- SetMaxAmmo \\ 
- ConsumeAmmo 
- GetMaxInternalHealth \\ 
- SetMaxInternalHealth \\ 
- GetInternalHealth \\ 
- SetInternalHealth \\ 
- DamageInternalHealth \\ 
- GetFowRange \\ 
- SetFowRange \\ 
- GetTotalPowerGeneration \\ 
- GetPowerGeneration \\ 
- RegisterForMsg \\ 
- DeregisterForMsg \\ 
- SendMsg \\ 
- GetControllerArg \\ 
- SetControllerArg \\ 
- GetScriptVar \\ 
- SetScriptVar \\ 
- GetScript1Var \\ 
- SetScript1Var \\ 
- RegisterScript \\ 
- DeregisterScript \\ 
- GetRegisteredScriptVar \\ 
- SetRegisteredScriptVar  \\ 
  
- 
- 
-==== Creeper ==== 
-GetNearestCreeper \\ 
-GetOverCreeper \\ 
-GetOverAc \\ 
-GetCreeperOnline \\ 
-GetDeepestCreeper \\ 
-GetCreeperInArea \\ 
-GetCreeperTotal \\ 
-GetAcTotal \\ 
-AddCreeper \\ 
-SetCreeperGravity \\ 
-SetCreeperMin \\ 
-SetCreeperGlobalGrowth \\ 
-DamageCreeper \\  
-ConvertCreeperToAc   \\ 
-ConvertAcToCreeper \\  
- 
- 
- 
-==== SandParticle ==== 
-CreateSandParticle \\ 
-GetSandParticleCountInRange \\ 
-GetSandParticle \\ 
-HasSandParticle \\ 
- 
-==== Sand ==== 
-IsSandEmpty \\ 
-GetSand \\ 
-CreateSand \\ 
-CreateSandInRoundArea \\ 
-CreateSandInAreaRand \\ 
-CreateSandInArea \\ 
-GetOverSand \\ 
-SetSandColor \\ 
-GetSandDef \\ 
-GetMapSandCount \\ 
-CountSandInArea \\ 
-GetSandInArea \\ 
-DestroySandInArea \\ 
-DestroySandFromList \\ 
-GetSandDefData \\ 
-TerpLocation \\   
- 
- 
- 
-==== Math ==== 
-SignedAngle \\ 
-Rotate \\   
-SetDirRight \\ 
-GetDirUp \\ 
-SetDirUp \\ 
-CalculateTrajectoryVelocity \\ 
- 
-==== Shots ==== 
-CreateShot \\ 
-CreateRaRocket \\ 
-CreateParticulateShot \\ 
- 
- 
- 
-==== Game ==== 
-GetUpgradeBoost \\ 
-SetUpgradeBoost \\ 
-GetMissionRequirementsMet \\ 
-GetCategory \\ 
-GetGameUpdateCount \\ 
-ClearConsole \\ 
-StopConsole \\ 
-GetArgs \\ 
-Jump \\ 
-FlashScreen \\ 
-ShowInventory \\ 
-ShowInfoArea \\ 
-ShowResourceArea \\ 
-GetShieldsEnabled \\ 
-SetShieldsEnabled \\ 
-TerpPaintingEnabled \\ 
-IsPassable \\ 
-GetEditMode \\ 
-QuickSave \\ 
-QuickLoad \\ 
-Sys_Operable \\ 
-GetPause \\ 
-SetPause \\ 
-GetCameraPosition \\ 
-SetCameraPosition \\ 
-GetCameraZoom \\ 
-SetCameraZoom \\ 
-GetScreenSize \\ 
-GetZoomForWidth \\ 
-GetPositionInventoryButton \\ 
-GetPositionTerpControls \\ 
-GetPositionPauseControl \\ 
-GetPositionHelpButton \\ 
-ShowUiIndicator \\ 
-GetTerpControlsOpen \\ 
-SetTerpControlsOpen \\ 
-GetHelpOpen \\ 
-SetHelpOpen \\ 
-GetMissionCompletionDialogOpen \\ 
-GetReturningToOrbit \\ 
-SetMissionCompletionDialogSuppressed \\ 
-AwardMissionComplete \\ 
-MissionLoss \\ 
-GetApex \\ 
-SetSuppressApexJump \\ 
-GetSelectedUnits \\ 
-HasSelectedUnit \\ 
-UseLegalUnitCells \\ 
-SetLegalUnitCells \\ 
-SetLegalUnitCellsRect \\ 
-ClearLegalUnitCells \\ 
-GetMcsItem \\ 
-SetMcsItem \\ 
-GetAllMcsKeys \\ 
- 
- 
- 
-==== Effects ==== 
-CreateSandExplosion \\ 
-CreateEffect \\ 
- 
- 
- 
-==== Beams ==== 
-CreateBeam \\ 
-DestroyBeam \\ 
-SetBeamStart \\ 
-SetBeamEnd \\ 
-SetBeamEnabled \\ 
-SetBeamColor \\ 
-SetBeamWidth \\ 
-SetBeamCapVertices \\ 
-BeamExists \\ 
-SetBeamAutoDisable \\ 
- 
-==== IO ==== 
-GetMousePos \\ 
-GetMouseCell \\ 
-GetMouseButtonDown \\ 
-GetMouseButtonUp \\ 
-GetMouseButton \\ 
-GetKeyDown \\ 
-GetKey \\ 
-GetMappedKey \\ 
-GetMappedKeyDown \\ 
-GetMappedKeyStrings \\ 
-SetMoveMapManualMode \\ 
- 
-==== Fields ==== 
-CreateFc \\ 
-DestroyFc \\ 
-DeployFc \\ 
-SetFcSave \\ 
-GetFc \\ 
-GetFcs \\ 
-SetFcPosition \\ 
-SetFcApplyCreeper \\ 
-SetFcApplyAc \\ 
-SetFcIsPin \\ 
-SetFcVisible \\ 
-FillFcPin \\ 
-FillFcRadial \\ 
-FillFcLinear \\ 
-FillFcIsland \\ 
-   
-==== Sound ==== 
-PlaySound \\ 
-PlaySoundLoop \\ 
-StopSoundLoop \\ 
-SetSoundLoopPitch \\ 
- 
- 
- 
-==== Inventory ==== 
-AddPlanToInventory \\ 
-RemovePlanFromInventory \\ 
-GetInventory \\ 
-HasInventory \\ 
-ClearInventory \\ 
- 
-==== UI ==== 
-CreateUi \\ 
-DestroyUi \\ 
-GetUiExists \\ 
-SetUiActive \\ 
-SetUiPosition \\ 
-SetUiSize \\ 
-SetUiColor \\ 
-SetUiBackgroundColor \\ 
-SetUiText \\ 
- 
-==== Messaging ==== 
-ShowConversation \\ 
-GetConversationOpen \\ 
-ShowBubbleMessage \\ 
-ShowBubbleMessage_Sound \\ 
-CloseBubbleMessage \\ 
-ShowUiHelp \\ 
-ShowGameMessage \\ 
-CloseGameMessage \\ 
-GetGameMessageOpen \\ 
-<newcolumn> 
-  
-==== Sprites ==== 
-CreateSprite \\ 
-DestroySprite \\ 
-SetSpriteActive \\ 
-SetSpriteParent \\ 
-SetSpriteOrder \\ 
-SetSpritePosition \\ 
-SetSpriteRotation \\ 
-SetSpriteScale \\ 
-SetSpriteColor \\ 
-SetSpriteAlpha \\ 
- 
- 
------- 
- 
-End of list. What follows is Work in progress or experimentation 
- 
----------- 
- 
-<nspages -subns -textPages="IRPL Reference" -simplelist -nbCol=1> 
- 
-<nspages  .:arithmetic -textNS="IRPL Function list"> 
ixe/irpl/start.1735562191.txt.gz · Last modified: 2025/02/14 14:56 (external edit)