Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
playground:playground [2021/01/15 20:46] – playground get/setgloballist testing bluebolt | playground:playground [2021/07/13 00:49] – removed Karsten75 |
---|
====== PlayGround ====== | |
| |
{{page>cw4:header&nofooter}} | |
{{page>4rpl:header&nofooter}} | |
====== 4RPL Scripting Language ====== | |
Read the [[Overview]], or see some [[Tutorials]] | |
===== API reference ===== | |
<WRAP group> | |
<WRAP column> | |
==== Variables ==== | |
[[4rpl:commands:define|$init_var]] \\ | |
[[4rpl:commands:define2|$$init_var]] \\ | |
[[4rpl:commands:read|<-var]] \\ | |
[[4rpl:commands:write|->var]] \\ | |
[[4rpl:commands:exists|-?var]] \\ | |
[[4rpl:commands:delete|--var]] \\ | |
[[4rpl:commands:refread|<-!]] \\ | |
[[4rpl:commands:refwrite|->!]] \\ | |
[[4rpl:commands:refexists|-?!]] \\ | |
[[4rpl:commands:refdelete|--?]] \\ | |
[[4rpl:commands:ClearLocals]] \\ | |
[[4rpl:commands:NotPersist]] \\ | |
| |
**Special var syntax** \\ | |
[[4rpl:commands:SpecialSyntax#vectors| · Vectors]] \\ | |
[[4rpl:commands:SpecialSyntax#lists| · Lists]] \\ | |
[[4rpl:commands:SpecialSyntax#tables| · Tables]] \\ | |
</WRAP> | |
<WRAP column> | |
==== Functions ==== | |
[[4rpl:commands:call|@FUNC_NAME]] \\ | |
[[4rpl:commands:func|:FUNC_NAME]] \\ | |
| |
**Built in Function Callbacks** \\ | |
[[4rpl:commands:func_awake|:Awake]] \\ | |
[[4rpl:commands:func_gameloaded|:GameLoaded]] \\ | |
[[4rpl:commands:func_destroyed|:Destroyed]] \\ | |
[[4rpl:commands:func_once|:Once]] \\ | |
[[4rpl:commands:func_buildcomplete|:BuildComplete]] \\ | |
[[4rpl:commands:func_uicallback|:_UICallback]] \\ | |
</WRAP> | |
<WRAP column> | |
==== Arithmetic ==== | |
<wrap note><sub>//Note//</sub>[(alias>alternate notation in [[cw4:symbol_aliasing]])]</wrap> \\ | |
[[4rpl:commands:add]] \\ [[4rpl:commands:sub]] \\ [[4rpl:commands:mul]] \\ [[4rpl:commands:div]] \\ [[4rpl:commands:mod]] \\ [[4rpl:commands:mod2]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Comparators==== | |
<wrap note><sub>//Note//</sub>[(alias)]</wrap> \\ | |
[[4rpl:commands:gt]] \\ [[4rpl:commands:gte]] \\ [[4rpl:commands:lt]] \\ [[4rpl:commands:lte]] \\ [[4rpl:commands:eq]] \\ [[4rpl:commands:neq]] \\ [[4rpl:commands:gt0]] \\ [[4rpl:commands:gte0]] \\ [[4rpl:commands:lt0]] \\ [[4rpl:commands:lte0]] \\ [[4rpl:commands:eq0]] \\ [[4rpl:commands:neq0]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Logic==== | |
[[4rpl:commands:and]] \\ [[4rpl:commands:or]] \\ [[4rpl:commands:xor]] \\ [[4rpl:commands:not]] \\ [[4rpl:commands:true]] \\ [[4rpl:commands:false]] \\ | |
| |
</WRAP> | |
---- | |
<WRAP column> | |
==== Constants==== | |
[[4rpl:commands:PI]] \\ [[4rpl:commands:TwoPI]] \\ [[4rpl:commands:TAU]] \\ [[4rpl:commands:HalfPI]] \\ [[4rpl:commands:QuarterPI]] \\ [[4rpl:commands:ThreeQuarterPI]] \\ [[4rpl:commands:ThreeHalvesPI]] \\ [[4rpl:commands:E]] \\ [[4rpl:commands:Rad2Deg]] \\ [[4rpl:commands:Deg2Rad]] \\ [[4rpl:commands:Vector0]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Debugging==== | |
[[4rpl:commands:Debug]] \\ [[4rpl:commands:DebugAllSp]] \\ [[4rpl:commands:Trace]] \\ [[4rpl:commands:TraceAll]] \\ [[4rpl:commands:TraceAllSp]] \\ [[4rpl:commands:Trace2]] \\ [[4rpl:commands:Trace3]] \\ [[4rpl:commands:Trace4]] \\ [[4rpl:commands:Trace5]] \\ [[4rpl:commands:TraceStack]] \\ [[4rpl:commands:ClearTraceLog]] \\ [[4rpl:commands:GetTimeString]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Flow Control==== | |
[[4rpl:commands:if]] \\ [[4rpl:commands:else]] \\ [[4rpl:commands:endif]] \\ [[4rpl:commands:while]] \\ [[4rpl:commands:repeat]] \\ [[4rpl:commands:endwhile]] \\ [[4rpl:commands:break]] \\ [[4rpl:commands:do]] \\ [[4rpl:commands:loop]] \\ [[4rpl:commands:I]] \\ [[4rpl:commands:J]] \\ [[4rpl:commands:K]] \\ [[4rpl:commands:once]] \\ [[4rpl:commands:endonce]] \\ [[4rpl:commands:refcall]] \\ [[4rpl:commands:return]] \\ | |
| |
</WRAP> | |
| |
<WRAP column> | |
==== Lists==== | |
[[4rpl:commands:CreateList]] \\ | |
[[playground:getgloballist|get]] [[playground:setgloballist|set]] [[playground:getgloballist|GlobalList]] \\ | |
[[4rpl:commands:List]] \\ | |
[[4rpl:commands:ListN]] \\ | |
[[4rpl:commands:CreateListStartingSize]] \\ | |
[[4rpl:commands:GetListElement|get]] [[4rpl:commands:SetListElement|set]] ListElement \\ | |
[[4rpl:commands:SetListElementRPN|set]] ListElementRPN \\ | |
[[4rpl:commands:AppendToList]] \\ | |
[[4rpl:commands:PushList]] \\ | |
[[4rpl:commands:PopList]] \\ | |
[[4rpl:commands:PrependToList]] \\ | |
[[4rpl:commands:AppendStackToList]] \\ | |
[[4rpl:commands:PrependStackToList]] \\ | |
[[4rpl:commands:InsertListElement]] \\ | |
[[4rpl:commands:RemoveListElement]] \\ | |
[[4rpl:commands:GetListCount|get]] ListCount \\ | |
[[4rpl:commands:ListContains]] \\ | |
[[4rpl:commands:ReverseList]] \\ | |
[[4rpl:commands:ClearList]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Vector==== | |
[[4rpl:commands:Dot]] \\ [[4rpl:commands:Cross]] \\ [[4rpl:commands:V2]] \\ [[4rpl:commands:V3]] \\ [[4rpl:commands:V4]] \\ [[4rpl:commands:EV2]] \\ [[4rpl:commands:EV3]] \\ [[4rpl:commands:EV4]] \\ [[4rpl:commands:ToCell]] \\ [[4rpl:commands:FromCell]] \\ [[4rpl:commands:Magnitude]] \\ [[4rpl:commands:SqrMagnitude]] \\ [[4rpl:commands:Normalize]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Output==== | |
[[4rpl:commands:DQ]] \\ [[4rpl:commands:CR]] \\ [[4rpl:commands:LF]] \\ [[4rpl:commands:TAB]] \\ [[4rpl:commands:Print]] \\ [[4rpl:commands:PrintAll]] \\ [[4rpl:commands:PrintAllSp]] \\ [[4rpl:commands:Print2]] \\ [[4rpl:commands:Print3]] \\ [[4rpl:commands:Print4]] \\ [[4rpl:commands:Print5]] \\ [[4rpl:commands:PrintStack]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Stack==== | |
[[4rpl:commands:dup]] \\ [[4rpl:commands:dup2]] \\ [[4rpl:commands:swap]] \\ [[4rpl:commands:pop]] \\ [[4rpl:commands:ClearStack]] \\ [[4rpl:commands:StackSize]] \\ [[4rpl:commands:Copy]] \\ [[4rpl:commands:DeepCopy]] \\ | |
</WRAP> | |
---- | |
<WRAP column> | |
==== Math==== | |
[[4rpl:commands:RandInt]] \\ [[4rpl:commands:RandFloat]] \\ [[4rpl:commands:asint]] \\ [[4rpl:commands:asfloat]] \\ [[4rpl:commands:abs]] \\ [[4rpl:commands:round]] \\ [[4rpl:commands:neg]] \\ [[4rpl:commands:sign]] \\ [[4rpl:commands:sign0]] \\ [[4rpl:commands:clamp]] \\ [[4rpl:commands:clamp01]] \\ [[4rpl:commands:sin]] \\ [[4rpl:commands:cos]] \\ [[4rpl:commands:tan]] \\ [[4rpl:commands:asin]] \\ [[4rpl:commands:acos]] \\ [[4rpl:commands:atan]] \\ [[4rpl:commands:atan2]] \\ [[4rpl:commands:SignalGenerator]] \\ [[4rpl:commands:BallisticArcLateral]] \\ [[4rpl:commands:BallisticArcPos]] \\ [[4rpl:commands:pow]] \\ [[4rpl:commands:sqrt]] \\ [[4rpl:commands:log]] \\ [[4rpl:commands:ln]] \\ [[4rpl:commands:log10]] \\ [[4rpl:commands:min]] \\ [[4rpl:commands:max]] \\ [[4rpl:commands:floor]] \\ [[4rpl:commands:ceil]] \\ [[4rpl:commands:approximately]] \\ [[4rpl:commands:avg2]] \\ [[4rpl:commands:DistanceCell]] \\ [[4rpl:commands:Distance]] \\ [[4rpl:commands:ShortestAngle]] \\ [[4rpl:commands:VectorAngleCell]] \\ [[4rpl:commands:VectorAngle]] \\ [[4rpl:commands:RotateTowards]] \\ [[4rpl:commands:RotateTowardsCell]] \\ [[4rpl:commands:DistancePointLine]] \\ [[4rpl:commands:MoveTowards]] \\ | |
| |
</WRAP> | |
| |
<WRAP column> | |
==== Game==== | |
[[4rpl:commands:InvocationCount]] \\ [[4rpl:commands:GetLastExecutionCount]] \\ [[4rpl:commands:IsMissionComplete]] \\ [[4rpl:commands:Self]] \\ [[4rpl:commands:ShowADAMessage]] \\ [[4rpl:commands:ShowADAMessageAtCell]] \\ [[4rpl:commands:ShowADAMessageAtUnit]] \\ [[4rpl:commands:IsADAMessageShowing]] \\ [[4rpl:commands:IsADAMessageRead]] \\ [[4rpl:commands:GetADALogOpen]] \\ [[4rpl:commands:SetADALogOpen]] \\ [[4rpl:commands:GetFinalDialogOpen]] \\ [[4rpl:commands:GetTerraformMenuOpen]] \\ [[4rpl:commands:GetMissionScanComplete]] \\ [[4rpl:commands:ShowGameMessage]] \\ [[4rpl:commands:CloseGameMessage]] \\ [[4rpl:commands:IsGameMessageShowing]] \\ [[4rpl:commands:SetGameMessageText]] \\ [[4rpl:commands:ShowUIIndicator]] \\ [[4rpl:commands:GetSoylentMode]] \\ [[4rpl:commands:SetSoylentMode]] \\ [[4rpl:commands:GetCanMoveUnits]] \\ [[4rpl:commands:SetCanMoveUnits]] \\ [[4rpl:commands:SetCModEditMenuName]] \\ [[4rpl:commands:SetCModPlayerMenuName]] \\ [[4rpl:commands:SetUnitsSelectable]] \\ [[4rpl:commands:SetCreeperGraphAvailable]] \\ [[4rpl:commands:SetDepartButtonAvailable]] \\ [[4rpl:commands:GetOpenBuildTab]] \\ [[4rpl:commands:GetOrbitalCount]] \\ [[4rpl:commands:SetOrbitalCount]] \\ [[4rpl:commands:GetEcoCounts]] \\ [[4rpl:commands:IsBuildUnitSelected]] \\ [[4rpl:commands:GetSelectedUnits]] \\ [[4rpl:commands:GetPause]] \\ [[4rpl:commands:SetPause]] \\ [[4rpl:commands:GetEditMode]] \\ [[4rpl:commands:Cancel]] \\ [[4rpl:commands:RegisterforMsg]] \\ [[4rpl:commands:DeregisterforMsg]] \\ [[4rpl:commands:SendMsg]] \\ [[4rpl:commands:StopConsole]] \\ [[4rpl:commands:GetGameUpdateCount]] \\ [[4rpl:commands:GetGameTickCount]] \\ [[4rpl:commands:GetMapSize]] \\ [[4rpl:commands:FC]] \\ [[4rpl:commands:UFC]] \\ [[4rpl:commands:IsV3InMap]] \\ [[4rpl:commands:IsV2InMap]] \\ [[4rpl:commands:GetRandMapCell]] \\ [[4rpl:commands:SetFieldRect]] \\ [[4rpl:commands:DamageMesh]] \\ [[4rpl:commands:FindUnitEnemy]] \\ [[4rpl:commands:GetNearestSpore]] \\ [[4rpl:commands:GetNearestAirSac]] \\ [[4rpl:commands:GetNearestSniperTarget]] \\ [[4rpl:commands:RefreshUnitLosCache]] \\ [[4rpl:commands:ApplyToDamageMap]] \\ [[4rpl:commands:RemoveUnitDamageMap]] \\ [[4rpl:commands:GenerateEnergy]] \\ [[4rpl:commands:SuppressTotemActivation]] \\ [[4rpl:commands:BounceFadeBlack]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Unit==== | |
[[4rpl:commands:UseLegalUnitCells]] \\ [[4rpl:commands:SetLegalUnitCells]] \\ [[4rpl:commands:SetAllLegalUnitCells]] \\ [[4rpl:commands:GetUnitCanBuild]] \\ [[4rpl:commands:GetUnitCount]] \\ [[4rpl:commands:SetUnitCanBuild]] \\ [[4rpl:commands:GetUnitSelected]] \\ [[4rpl:commands:SetUnitSelected]] \\ [[4rpl:commands:GetUnitSelectable]] \\ [[4rpl:commands:SetUnitSelectable]] \\ [[4rpl:commands:SetUnitOutlineEnabled]] \\ [[4rpl:commands:SetUnitOutlineWidth]] \\ [[4rpl:commands:SetUnitOutlineColor]] \\ [[4rpl:commands:SetUnitOutlineMode]] \\ [[4rpl:commands:GetUnitConstructing]] \\ [[4rpl:commands:GetUnitConstructingData]] \\ [[4rpl:commands:GetUnitConnectedToRiftLab]] \\ [[4rpl:commands:GetUnitSuppressMovement]] \\ [[4rpl:commands:SetUnitSuppressMovement]] \\ [[4rpl:commands:GetUnitSpecifiedTarget]] \\ [[4rpl:commands:SetUnitSpecifiedTarget]] \\ [[4rpl:commands:ClearUnitSpecifiedTarget]] \\ [[4rpl:commands:SetUnitSpecifiedTargetShowPath]] \\ [[4rpl:commands:SetUnitSpecifiedTargetPathHeight]] \\ [[4rpl:commands:SetUnitSpecifiedTargetPathSourceOffset]] \\ [[4rpl:commands:SetUnitSpecifiedTargetOccupiesMap]] \\ [[4rpl:commands:SetUnitDebugText]] \\ [[4rpl:commands:CreateUnit]] \\ [[4rpl:commands:CreateUnitOnTerrain]] \\ [[4rpl:commands:DestroyUnit]] \\ [[4rpl:commands:CreateEffect]] \\ [[4rpl:commands:CreateMist]] \\ [[4rpl:commands:CreateMissile]] \\ [[4rpl:commands:CreateSniperShot]] \\ [[4rpl:commands:SetWallCharged]] \\ [[4rpl:commands:GetERNPortalEfficiency]] \\ [[4rpl:commands:GetRiftLab]] \\ [[4rpl:commands:GetFactory]] \\ [[4rpl:commands:GetERNPortal]] \\ [[4rpl:commands:GetMinerMode]] \\ [[4rpl:commands:GetUnitPosition]] \\ [[4rpl:commands:SetUnitPosition]] \\ [[4rpl:commands:GetUnitCell]] \\ [[4rpl:commands:SetUnitCell]] \\ [[4rpl:commands:GetUnitRotation]] \\ [[4rpl:commands:SetUnitRotation]] \\ [[4rpl:commands:GetUnitForward]] \\ [[4rpl:commands:SetUnitForward]] \\ [[4rpl:commands:RotateUnit]] \\ [[4rpl:commands:RotateUnitTowards]] \\ [[4rpl:commands:RotateUnitTowardsCell]] \\ [[4rpl:commands:GetUnitsInRange]] \\ [[4rpl:commands:GetUnitsByType]] \\ [[4rpl:commands:GetScriptVar]] \\ [[4rpl:commands:SetScriptVar]] \\ [[4rpl:commands:GetScript1Var]] \\ [[4rpl:commands:SetScript1Var]] \\ [[4rpl:commands:DamageUnit]] \\ [[4rpl:commands:GetUnitUIState]] \\ [[4rpl:commands:SetUnitUIState]] \\ [[4rpl:commands:GetUnitUIText]] \\ [[4rpl:commands:SetUnitUIText]] \\ [[4rpl:commands:GetUnitUIOptions]] \\ [[4rpl:commands:SetUnitUIOptions]] \\ [[4rpl:commands:GetUnitShieldRange]] \\ [[4rpl:commands:SetUnitShieldRange]] \\ [[4rpl:commands:DeployUnitShield]] \\ [[4rpl:commands:SetUnitShieldVisible]] \\ [[4rpl:commands:SetUnitPopupEnabled]] \\ [[4rpl:commands:SetUnitPopupText0]] \\ [[4rpl:commands:SetUnitPopupText1]] \\ [[4rpl:commands:MoveTowardsAndAvoid]] \\ [[4rpl:commands:MoveTowardsCellAndAvoid]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Unit Attributes==== | |
[[4rpl:commands:GetUnitUpdateCount]] \\ [[4rpl:commands:GetUnitDestroyed]] \\ [[4rpl:commands:GetUnitEnabled]] \\ [[4rpl:commands:SetUnitEnabled]] \\ [[4rpl:commands:GetUnitArmed]] \\ [[4rpl:commands:SetUnitArmed]] \\ [[4rpl:commands:GetUnitSupplied]] \\ [[4rpl:commands:SetUnitSupplied]] \\ [[4rpl:commands:GetUnitHealth]] \\ [[4rpl:commands:SetUnitHealth]] \\ [[4rpl:commands:GetUnitMaxHealth]] \\ [[4rpl:commands:SetUnitMaxHealth]] \\ [[4rpl:commands:GetUnitAmmo]] \\ [[4rpl:commands:SetUnitAmmo]] \\ [[4rpl:commands:GetUnitMaxAmmo]] \\ [[4rpl:commands:SetUnitMaxAmmo]] \\ [[4rpl:commands:GetUnitCreeperDamages]] \\ [[4rpl:commands:GetUnitCanDestroy]] \\ [[4rpl:commands:SetUnitCanDestroy]] \\ [[4rpl:commands:SetUnitCreeperDamages]] \\ [[4rpl:commands:GetUnitAnticreeperDamages]] \\ [[4rpl:commands:SetUnitAnticreeperDamages]] \\ [[4rpl:commands:GetUnitFootprintResistsCreeperHeight]] \\ [[4rpl:commands:SetUnitFootprintResistsCreeperHeight]] \\ [[4rpl:commands:GetUnitConnectable]] \\ [[4rpl:commands:SetUnitConnectable]] \\ [[4rpl:commands:GetUnitRange]] \\ [[4rpl:commands:GetUnitRangeWithMods]] \\ [[4rpl:commands:SetUnitRange]] \\ [[4rpl:commands:GetUnitFireOffset]] \\ [[4rpl:commands:SetUnitFireOffset]] \\ [[4rpl:commands:GetUnitTargetOffset]] \\ [[4rpl:commands:SetUnitTargetOffset]] \\ [[4rpl:commands:GetUnitRequestPackets]] \\ [[4rpl:commands:SetUnitRequestPackets]] \\ [[4rpl:commands:GetUnitPacketRequestRate]] \\ [[4rpl:commands:SetUnitPacketRequestRate]] \\ [[4rpl:commands:GetUnitERNState]] \\ [[4rpl:commands:GetUnitSuppressCount]] \\ [[4rpl:commands:SetUnitSuppressCount]] \\ [[4rpl:commands:GetUnitOfficialName]] \\ [[4rpl:commands:AddAsWareHolder]] \\ [[4rpl:commands:RemoveAsWareHolder]] \\ [[4rpl:commands:GetUnitDestroyUnevenLand]] \\ [[4rpl:commands:SetUnitDestroyUnevenLand]] \\ [[4rpl:commands:GetUnitOccupiesLand]] \\ [[4rpl:commands:SetUnitOccupiesLand]] \\ [[4rpl:commands:GetUnitDamagedByCreeper]] \\ [[4rpl:commands:SetUnitDamagedByCreeper]] \\ [[4rpl:commands:GetUnitDamagedByAC]] \\ [[4rpl:commands:SetUnitDamagedByAC]] \\ [[4rpl:commands:GetUnitLOSEnabled]] \\ [[4rpl:commands:SetUnitLOSEnabled]] \\ | |
| |
</WRAP> | |
---- | |
| |
<WRAP column> | |
==== Unit Objects==== | |
[[4rpl:commands:GetObjActive]] \\ [[4rpl:commands:SetObjActive]] \\ [[4rpl:commands:GetObjPosition]] \\ [[4rpl:commands:SetObjPosition]] \\ [[4rpl:commands:GetObjRotation]] \\ [[4rpl:commands:SetObjRotation]] \\ [[4rpl:commands:GetObjScale]] \\ [[4rpl:commands:SetObjScale]] \\ [[4rpl:commands:GetObjColor]] \\ [[4rpl:commands:SetObjColor]] \\ [[4rpl:commands:GetObjForward]] \\ [[4rpl:commands:SetObjForward]] \\ [[4rpl:commands:RotateObj]] \\ [[4rpl:commands:RotateObjTowards]] \\ [[4rpl:commands:RotateObjTowardsCell]] \\ [[4rpl:commands:GetObjFacingAngle]] \\ [[4rpl:commands:GetObjFacingAngleCell]] \\ [[4rpl:commands:SetObjLightConeVisible]] \\ [[4rpl:commands:CreateTrail]] \\ [[4rpl:commands:DestroyTrail]] \\ [[4rpl:commands:SetObjText]] \\ [[4rpl:commands:SetObjTextColor]] \\ [[4rpl:commands:SetObjTextFontSize]] \\ [[4rpl:commands:SetObjTextBillboard]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Beams==== | |
[[4rpl:commands:CreateBeam]] \\ [[4rpl:commands:DestroyBeam]] \\ [[4rpl:commands:SetBeamVisible]] \\ [[4rpl:commands:SetBeamColor]] \\ [[4rpl:commands:SetBeamBrightness]] \\ [[4rpl:commands:SetBeamWidth]] \\ [[4rpl:commands:SetBeamStart]] \\ [[4rpl:commands:SetBeamEnd]] \\ [[4rpl:commands:AttachBeam]] \\ [[4rpl:commands:UnattachBeam]] \\ [[4rpl:commands:SetBeamForceLocalEnd]] \\ [[4rpl:commands:IsBeam]] \\ [[4rpl:commands:DestroyAllBeams]] \\ [[4rpl:commands:DestroyAllAttachedBeams]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== IO==== | |
[[4rpl:commands:GetPointerTerrainCoords]] \\ [[4rpl:commands:GetMouseButtonDown]] \\ [[4rpl:commands:GetMouseButtonUp]] \\ [[4rpl:commands:GetMouseButton]] \\ [[4rpl:commands:GetMouseScrollDelta]] \\ [[4rpl:commands:GetCameraPosition]] \\ [[4rpl:commands:SetCameraPosition]] \\ [[4rpl:commands:GetCameraRotation]] \\ [[4rpl:commands:SetCameraRotation]] \\ [[4rpl:commands:ResetCamera]] \\ [[4rpl:commands:GetCameraMode]] \\ [[4rpl:commands:SetRPLCam]] \\ [[4rpl:commands:SetRPLCamPosition]] \\ [[4rpl:commands:SetRPLCamRotation]] \\ [[4rpl:commands:RPLCamTween]] \\ [[4rpl:commands:RPLCamTweenLookAt]] \\ [[4rpl:commands:RPLCamCopyPosAndRot]] \\ [[4rpl:commands:SetMapPanEnabled]] \\ [[4rpl:commands:SetMapZoomEnabled]] \\ [[4rpl:commands:SetMapRotateEnabled]] \\ [[4rpl:commands:GetDefaultCameraPosition]] \\ [[4rpl:commands:GetKeyDown]] \\ [[4rpl:commands:GetKey]] \\ [[4rpl:commands:GetMappedKey]] \\ [[4rpl:commands:GetMappedKeyDown]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Theme==== | |
[[4rpl:commands:ApplyTheme]] \\ [[4rpl:commands:GetThemeTexture]] \\ [[4rpl:commands:SetThemeTexture]] \\ [[4rpl:commands:GetThemeTextureScale]] \\ [[4rpl:commands:SetThemeTextureScale]] \\ [[4rpl:commands:GetThemeTextureDeTile]] \\ [[4rpl:commands:SetThemeTextureDeTile]] \\ [[4rpl:commands:GetThemeTextureLight]] \\ [[4rpl:commands:SetThemeTextureLight]] \\ [[4rpl:commands:GetThemeTextureLightBoost]] \\ [[4rpl:commands:SetThemeTextureLightBoost]] \\ [[4rpl:commands:GetThemeNormal]] \\ [[4rpl:commands:SetThemeNormal]] \\ [[4rpl:commands:GetThemeNormalAmt]] \\ [[4rpl:commands:SetThemeNormalAmt]] \\ [[4rpl:commands:GetThemeNormalScale]] \\ [[4rpl:commands:SetThemeNormalScale]] \\ [[4rpl:commands:GetThemeCliffTexture]] \\ [[4rpl:commands:SetThemeCliffTexture]] \\ [[4rpl:commands:GetThemeCliffScale]] \\ [[4rpl:commands:SetThemeCliffScale]] \\ [[4rpl:commands:GetThemeCliffLight]] \\ [[4rpl:commands:SetThemeCliffLight]] \\ [[4rpl:commands:GetThemeCliffLightBoost]] \\ [[4rpl:commands:SetThemeCliffLightBoost]] \\ [[4rpl:commands:GetThemeCliffNormal]] \\ [[4rpl:commands:SetThemeCliffNormal]] \\ [[4rpl:commands:GetThemeCliffNormalAmt]] \\ [[4rpl:commands:SetThemeCliffNormalAmt]] \\ [[4rpl:commands:GetThemeCliffNormalScale]] \\ [[4rpl:commands:SetThemeCliffNormalScale]] \\ | |
| |
</WRAP> | |
---- | |
| |
<WRAP column> | |
==== Editing==== | |
[[4rpl:commands:EditAddUndo]] \\ [[4rpl:commands:EditRestoreUndo]] \\ [[4rpl:commands:EditRedo]] \\ [[4rpl:commands:ShowTerrainRangeIndicator]] \\ [[4rpl:commands:DestroyTerrainRangeIndicator]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Strings==== | |
[[4rpl:commands:asstring]] \\ [[4rpl:commands:Concat]] \\ [[4rpl:commands:Concat3]] \\ [[4rpl:commands:Concat4]] \\ [[4rpl:commands:Substring]] \\ [[4rpl:commands:StartsWith]] \\ [[4rpl:commands:EndsWith]] \\ [[4rpl:commands:Split]] \\ [[4rpl:commands:StringToList]] \\ [[4rpl:commands:StringLength]] \\ [[4rpl:commands:ToUpper]] \\ [[4rpl:commands:ToLower]] \\ [[4rpl:commands:StringReplace]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Tables==== | |
[[4rpl:commands:CreateTable]] \\ [[4rpl:commands:GetGlobalTable]] \\ [[4rpl:commands:SetGlobalTable]] \\ [[4rpl:commands:GetTableElement]] \\ [[4rpl:commands:SetTableElement]] \\ [[4rpl:commands:SetTableElementRPN]] \\ [[4rpl:commands:RemoveTableElement]] \\ [[4rpl:commands:Table]] \\ [[4rpl:commands:TableN]] \\ [[4rpl:commands:GetTableKeys]] \\ [[4rpl:commands:GetTableValues]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Sound==== | |
[[4rpl:commands:PlaySoundAtPosition]] \\ [[4rpl:commands:PlaySound]] \\ [[4rpl:commands:PlaySoundLoop]] \\ [[4rpl:commands:StopSoundLoop]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Raster==== | |
[[4rpl:commands:ShowRaster]] \\ [[4rpl:commands:SetRasterSize]] \\ [[4rpl:commands:ClearRaster]] \\ [[4rpl:commands:SetRaster]] \\ [[4rpl:commands:SetRasterC]] \\ [[4rpl:commands:RasterColor]] \\ [[4rpl:commands:BlitRaster]] \\ [[4rpl:commands:BlitFadeRaster]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Data==== | |
[[4rpl:commands:GetType]] \\ [[4rpl:commands:IsNull]] \\ [[4rpl:commands:NULL]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Timers==== | |
[[4rpl:commands:SetTimerObeyPause0]] \\ [[4rpl:commands:SetTimerObeyPause1]] \\ [[4rpl:commands:SetTimerObeyPause2]] \\ [[4rpl:commands:SetTimerObeyPause3]] \\ [[4rpl:commands:SetTimer0]] \\ [[4rpl:commands:SetTimer1]] \\ [[4rpl:commands:SetTimer2]] \\ [[4rpl:commands:SetTimer3]] \\ [[4rpl:commands:GetTimer0]] \\ [[4rpl:commands:GetTimer1]] \\ [[4rpl:commands:GetTimer2]] \\ [[4rpl:commands:GetTimer3]] \\ | |
| |
</WRAP> | |
---- | |
<WRAP column> | |
==== Eggs/Orbs==== | |
[[4rpl:commands:CreateOrb]] \\ [[4rpl:commands:CreateEgg]] \\ [[4rpl:commands:SetEggOrbData]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Terrain==== | |
[[4rpl:commands:GetTerrain]] \\ [[4rpl:commands:GetTerrainVector]] \\ [[4rpl:commands:SetTerrain]] \\ [[4rpl:commands:GetTerrainSpecial]] \\ [[4rpl:commands:SetTerrainSpecial]] \\ [[4rpl:commands:SetTerrainInRange]] \\ [[4rpl:commands:SetTerrainLine]] \\ [[4rpl:commands:GetExactTerrain]] \\ [[4rpl:commands:GetExactTerrainWithShield]] \\ [[4rpl:commands:FloodFillTerrain]] \\ [[4rpl:commands:BounceTerrainCollision]] \\ [[4rpl:commands:BounceEdgeCollision]] \\ [[4rpl:commands:GetTerrainLOS]] \\ [[4rpl:commands:GetVoidHeight]] \\ [[4rpl:commands:SetVoidHeight]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Creeper==== | |
[[4rpl:commands:GetCreeperCutoff]] \\ [[4rpl:commands:SetCreeperCutoff]] \\ [[4rpl:commands:IsCreeperCutoff]] \\ [[4rpl:commands:GetCreeper]] \\ [[4rpl:commands:SetCreeper]] \\ [[4rpl:commands:AddCreeper]] \\ [[4rpl:commands:AddCreeperWithCap]] \\ [[4rpl:commands:SetCreeperInRange]] \\ [[4rpl:commands:AddCreeperInRange]] \\ [[4rpl:commands:AddCreeperWithCapInRange]] \\ [[4rpl:commands:ConvertCreeperToAC]] \\ [[4rpl:commands:ConvertACToCreeper]] \\ [[4rpl:commands:DamageCreeper]] \\ [[4rpl:commands:GetMaxCreeperCell]] \\ [[4rpl:commands:GetMinCreeperCell]] \\ [[4rpl:commands:GetMaxACCell]] \\ [[4rpl:commands:GetMinACCell]] \\ [[4rpl:commands:GetExactCreeperHeight]] \\ [[4rpl:commands:GetTotalCreeper]] \\ [[4rpl:commands:GetTotalAC]] \\ [[4rpl:commands:GetMaxCreeperCellWithDamage]] \\ [[4rpl:commands:GetMinCreeperCellWithDamage]] \\ [[4rpl:commands:ClipCreeperLine]] \\ [[4rpl:commands:GetFlow]] \\ [[4rpl:commands:SetFlow]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Mission==== | |
[[4rpl:commands:GetMissionObjectiveState]] \\ [[4rpl:commands:AcquireMissionObjective]] \\ [[4rpl:commands:SetCustomObjectiveText]] \\ [[4rpl:commands:GetMissionObjectiveRequired]] \\ [[4rpl:commands:SetMissionObjectiveRequired]] \\ [[4rpl:commands:GetMissionObjectiveEnabled]] \\ [[4rpl:commands:SetMissionObjectiveEnabled]] \\ [[4rpl:commands:EndMission]] \\ | |
| |
</WRAP> | |
<WRAP column> | |
==== Decals ==== | |
[[4rpl:commands:GetDecalVisible]] \\ [[4rpl:commands:SetDecalVisible]] \\ [[4rpl:commands:GetDecalColor]] \\ [[4rpl:commands:SetDecalColor]] \\ [[4rpl:commands:GetDecalSize]] \\ [[4rpl:commands:SetDecalSize]] \\ [[4rpl:commands:GetDecalPosition]] \\ [[4rpl:commands:SetDecalPosition]] \\ | |
| |
</WRAP> | |
</WRAP> | |
===== Full Index ===== | |
[[4rpl:index| Full Index]] | |
| |