This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ixe:irpl:start [2024/12/30 11:43] – karsten75 | ixe:irpl:start [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== | ====== | ||
- | //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: |
- | ==== 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 | ||
- | GetDirRight | ||
- | 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 | ||
- | |||
- | ==== 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=" | ||
- | |||
- | < |