User Tools

Site Tools


playground:playground

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
playground:playground [2021/01/22 11:20]
Karsten75
playground:playground [2021/07/14 12:32]
Karsten75 created
Line 1: Line 1:
-~~NOTOC~~ +======Playground======
-====== PlayGround ======  +
- +
-====== 4RPL Scripting Language ====== +
- +
-===== 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]] \\  +
- +
- \\ +
- \\ +
-** Syntax ** \\ +
-[[4rpl:commands:comment]] \\  +
-[[4rpl:commands:comma]] \\  +
- +
-</WRAP> +
-<WRAP column> +
-==== Arithmetic ==== +
-[[4rpl:commands:add]] \\  +
-[[4rpl:commands:div]] \\  +
-[[4rpl:commands:mod]] \\  +
-[[4rpl:commands:mod2]] \\  +
-[[4rpl:commands:mul]] \\  +
-[[4rpl:commands:pow]] \\ +
-[[4rpl:commands:sub]] \\  +
- +
-</WRAP> +
-<WRAP column> +
-==== Comparators==== +
-[[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> +
-<WRAP column> +
-==== Logic==== +
-[[4rpl:commands:and]] \\  +
-[[4rpl:commands:not]] \\  +
-[[4rpl:commands:or]] \\  +
-[[4rpl:commands:xor]] \\  +
-[[4rpl:commands:true]] \\  +
-[[4rpl:commands:false]] \\  +
- +
-</WRAP> +
----- +
-<WRAP column> +
-==== Constants==== +
-[[4rpl:commands:Deg2Rad]] \\  +
-[[4rpl:commands:E]] \\  +
-[[4rpl:commands:HalfPI]] \\  +
-[[4rpl:commands:PI]] \\  +
-[[4rpl:commands:QuarterPI]] \\  +
-[[4rpl:commands:Rad2Deg]] \\  +
-[[4rpl:commands:TAU]] \\  +
-[[4rpl:commands:ThreeHalvesPI]] \\  +
-[[4rpl:commands:ThreeQuarterPI]] \\  +
-[[4rpl:commands:TwoPI]] \\  +
-[[4rpl:commands:Vector0]] \\  +
- +
- +
-</WRAP> +
-<WRAP column> +
-==== Debugging==== +
-[[4rpl:commands:ClearTraceLog]] \\  +
-[[4rpl:commands:Debug]] \\  +
-[[4rpl:commands:DebugAllSp]] \\  +
-[[4rpl:commands:Trace]] \\  +
-[[4rpl:commands:Trace2]] \\  +
-[[4rpl:commands:Trace3]] \\  +
-[[4rpl:commands:Trace4]] \\  +
-[[4rpl:commands:Trace5]] \\  +
-[[4rpl:commands:TraceAll]] \\  +
-[[4rpl:commands:TraceAllSp]] \\  +
-[[4rpl:commands:TraceStack]] \\  +
- +
- +
-</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:AppendStackToList ]]\\  +
-[[4rpl:commands:AppendToList ]]\\  +
-[[4rpl:commands:ClearList ]]\\  +
-[[4rpl:commands:CreateList ]]\\  +
-[[4rpl:commands:CreateListStartingSize ]]\\  +
-GlobalList  [[4rpl:commands:GetGlobalList |Get]]  |  [[4rpl:commands:SetGlobalList |Set]] \\  +
-[[4rpl:commands:InsertListElement ]]\\  +
-[[4rpl:commands:List ]]\\  +
-[[4rpl:commands:ListContains ]]\\  +
-ListCount  [[4rpl:commands:GetListCount |Get]] \\  +
-ListElement  [[4rpl:commands:GetListElement |Get]]  |  [[4rpl:commands:SetListElement |Set]] \\  +
-ListElementRPN  [[4rpl:commands:SetListElementRPN |Set]] \\  +
-[[4rpl:commands:ListN ]]\\  +
-[[4rpl:commands:PopList ]]\\  +
-[[4rpl:commands:PrependStackToList ]]\\  +
-[[4rpl:commands:PrependToList ]]\\  +
-[[4rpl:commands:PushList ]]\\  +
-[[4rpl:commands:RemoveListElement ]]\\  +
-[[4rpl:commands:ReverseList ]]\\  +
- +
- +
-</WRAP> +
-<WRAP column> +
-==== Vector==== +
-[[4rpl:commands:Cross]] \\   +
-[[4rpl:commands:Dot]] \\   +
-[[4rpl:commands:EV2]] \\   +
-[[4rpl:commands:EV3]] \\   +
-[[4rpl:commands:EV4]] \\   +
-[[4rpl:commands:FromCell]] \\   +
-[[4rpl:commands:Magnitude]] \\   +
-[[4rpl:commands:Normalize]] \\   +
-[[4rpl:commands:SqrMagnitude]] \\   +
-[[4rpl:commands:ToCell]] \\   +
-[[4rpl:commands:V2]] \\   +
-[[4rpl:commands:V3]] \\   +
-[[4rpl:commands:V4]] \\    +
- +
-</WRAP> +
-<WRAP column> +
-==== Output==== +
-[[4rpl:commands:CR]] \\   +
-[[4rpl:commands:DQ]] \\   +
-[[4rpl:commands:LF]] \\   +
-[[4rpl:commands:Print2]] \\   +
-[[4rpl:commands:Print3]] \\   +
-[[4rpl:commands:Print4]] \\   +
-[[4rpl:commands:Print5]] \\   +
-[[4rpl:commands:PrintAllSp]] \\   +
-[[4rpl:commands:PrintAll]] \\   +
-[[4rpl:commands:PrintStack]] \\   +
-[[4rpl:commands:Print]] \\   +
-[[4rpl:commands:TAB]] \\   +
- +
-</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:BallisticArcLateral]] \\   +
-[[4rpl:commands:BallisticArcPos]] \\   +
-[[4rpl:commands:DistanceCell]] \\   +
-[[4rpl:commands:DistancePointLine]] \\   +
-[[4rpl:commands:Distance]] \\   +
-[[4rpl:commands:MoveTowards]] \\   +
-[[4rpl:commands:RandFloat]] \\   +
-[[4rpl:commands:RandInt]] \\   +
-[[4rpl:commands:RotateTowardsCell]] \\   +
-[[4rpl:commands:RotateTowards]] \\   +
-[[4rpl:commands:ShortestAngle]] \\   +
-[[4rpl:commands:SignalGenerator]] \\   +
-[[4rpl:commands:VectorAngleCell]] \\   +
-[[4rpl:commands:VectorAngle]] \\   +
-[[4rpl:commands:abs]] \\   +
-[[4rpl:commands:acos]] \\   +
-[[4rpl:commands:approximately]] \\   +
-[[4rpl:commands:asfloat]] \\   +
-[[4rpl:commands:asin]] \\   +
-[[4rpl:commands:asint]] \\   +
-[[4rpl:commands:atan2]] \\   +
-[[4rpl:commands:atan]] \\   +
-[[4rpl:commands:avg2]] \\   +
-[[4rpl:commands:ceil]] \\   +
-[[4rpl:commands:clamp01]] \\   +
-[[4rpl:commands:clamp]] \\   +
-[[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]] \\   +
- +
-</WRAP> +
- +
-<WRAP column> +
-==== 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 ]]\\  +
-DepartButtonAvailable  [[4rpl:commands:SetDepartButtonAvailable |Set]] \\  +
-[[4rpl:commands:DeregisterforMsg ]]\\  +
-EcoCounts  [[4rpl:commands:GetEcoCounts |Get]] \\  +
-EditMode  [[4rpl:commands:GetEditMode |Get]] \\  +
-[[4rpl:commands:FC ]]\\  +
-FieldRect  [[4rpl:commands:SetFieldRect |Set]] \\  +
-FinalDialogOpen  [[4rpl:commands:GetFinalDialogOpen |Get]] \\  +
-[[4rpl:commands:FindUnitEnemy ]]\\  +
-GameMessageText  [[4rpl:commands:SetGameMessageText |Set]] \\  +
-GameTickCount  [[4rpl:commands:GetGameTickCount |Get]] \\  +
-GameUpdateCount  [[4rpl:commands:GetGameUpdateCount |Get]] \\  +
-[[4rpl:commands:GenerateEnergy ]]\\  +
-[[4rpl:commands:InvocationCount ]]\\  +
-[[4rpl:commands:IsADAMessageRead ]]\\  +
-[[4rpl:commands:IsADAMessageShowing ]]\\  +
-[[4rpl:commands:IsBuildUnitSelected ]]\\  +
-[[4rpl:commands:IsGameMessageShowing ]]\\  +
-[[4rpl:commands:IsMissionComplete ]]\\  +
-[[4rpl:commands:IsV2InMap ]]\\  +
-[[4rpl:commands:IsV3InMap ]]\\  +
-LastExecutionCount  [[4rpl:commands:GetLastExecutionCount |Get]] \\  +
-MapSize  [[4rpl:commands:GetMapSize |Get]] \\  +
-MissionScanComplete  [[4rpl:commands:GetMissionScanComplete |Get]] \\  +
-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 ]]\\  +
-[[4rpl:commands:RegisterforMsg ]]\\  +
-[[4rpl:commands:RemoveUnitDamageMap ]]\\  +
-SelectedUnits  [[4rpl:commands:GetSelectedUnits |Get]] \\  +
-[[4rpl:commands:SendMsg ]]\\  +
-[[4rpl:commands:ShowADAMessage ]]\\  +
-[[4rpl:commands:ShowADAMessageAtCell ]]\\  +
-[[4rpl:commands:ShowADAMessageAtUnit ]]\\  +
-[[4rpl:commands:ShowGameMessage ]]\\  +
-[[4rpl:commands:ShowUIIndicator ]]\\  +
-SoylentMode  [[4rpl:commands:GetSoylentMode |Get]] \\  +
-SoylentMode  [[4rpl:commands:SetSoylentMode |Set]] \\  +
-[[4rpl:commands:StopConsole ]]\\  +
-[[4rpl:commands:SuppressTotemActivation ]]\\  +
-TerraformMenuOpen  [[4rpl:commands:GetTerraformMenuOpen |Get]] \\  +
-TimeString  [[4rpl:commands:GetTimeString |Get]] \\  +
-[[4rpl:commands:UFC ]]\\  +
-UnitsSelectable  [[4rpl:commands:SetUnitsSelectable |Set]] \\  +
- +
-</WRAP> +
-<WRAP column> +
-==== Unit==== +
-AllLegalUnitCells [[4rpl:commands:SetAllLegalUnitCells|Set]]\\ +
-[[4rpl:commands:ClearUnitSpecifiedTarget]]  \\ +
-[[4rpl:commands:ClearUnitStun]]  \\ +
-[[4rpl:commands:CreateEffect]]  \\ +
-[[4rpl:commands:CreateMissile]]  \\ +
-[[4rpl:commands:CreateMist]]  \\ +
-[[4rpl:commands:CreateSniperShot]]  \\ +
-[[4rpl:commands:CreateUnit]]  \\ +
-[[4rpl:commands:CreateUnitOnTerrain]]  \\ +
-[[4rpl:commands:DamageUnit]]  \\ +
-[[4rpl:commands:DeployUnitShield]]  \\ +
-[[4rpl:commands:DestroyUnit]]  \\ +
-ERNPortal [[4rpl:commands:GetERNPortal|Get]]\\ +
-ERNPortalEfficiency [[4rpl:commands:GetERNPortalEfficiency|Get]]\\ +
-Factory [[4rpl:commands:GetFactory|Get]]\\ +
-LegalUnitCells [[4rpl:commands:SetLegalUnitCells|Set]]\\ +
-MinerMode [[4rpl:commands:GetMinerMode|Get]]\\ +
-[[4rpl:commands:MoveTowardsAndAvoid]]  \\ +
-[[4rpl:commands:MoveTowardsCellAndAvoid]]  \\ +
-RiftLab [[4rpl:commands:GetRiftLab|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:Self]]  \\ +
-[[4rpl:commands:StunUnit]]  \\ +
-[[4rpl:commands:StunUnitsInRange]]  \\ +
-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]]\\ +
-UnitForward [[4rpl:commands:GetUnitForward|Get]] | [[4rpl:commands:SetUnitForward|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]] \\ +
-UnitSpecifiedTargetOccupiesMap [[4rpl:commands:SetUnitSpecifiedTargetOccupiesMap|Set]]\\ +
-UnitSpecifiedTargetPathHeight [[4rpl:commands:SetUnitSpecifiedTargetPathHeight|Set]]\\ +
-UnitSpecifiedTargetPathSourceOffset [[4rpl:commands:SetUnitSpecifiedTargetPathSourceOffset|Set]]\\ +
-UnitSpecifiedTargetShowPath [[4rpl:commands:SetUnitSpecifiedTargetShowPath|Set]]\\ +
-UnitSuppressMovement [[4rpl:commands:GetUnitSuppressMovement|Get]] | [[4rpl:commands:SetUnitSuppressMovement|Set]] \\ +
-UnitType [[4rpl:commands:GetUnitType|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]]\\ +
- +
-</WRAP> +
-<WRAP column> +
-==== Unit Attributes==== +
-[[4rpl:commands:AddAsWareHolder ]] \\ +
-[[4rpl:commands:RemoveAsWareHolder ]] \\ +
-UnitAmmo  [[4rpl:commands:GetUnitAmmo |Get]] | [[4rpl:commands:SetUnitAmmo |Set]] \\ +
-UnitAnticreeperDamages  [[4rpl:commands:GetUnitAnticreeperDamages |Get]] | [[4rpl:commands:SetUnitAnticreeperDamages |Set]] \\ +
-UnitArmed  [[4rpl:commands:GetUnitArmed |Get]] | [[4rpl:commands:SetUnitArmed |Set]] \\ +
-UnitCanDestroy  [[4rpl:commands:GetUnitCanDestroy |Get]] | [[4rpl:commands:SetUnitCanDestroy |Set]] \\ +
-UnitCanStun  [[4rpl:commands:GetUnitCanStun |Get]] | [[4rpl:commands:SetUnitCanStun |Set]] \\ +
-UnitConnectable  [[4rpl:commands:GetUnitConnectable |Get]] | [[4rpl:commands:SetUnitConnectable |Set]] \\ +
-UnitCreeperDamages  [[4rpl:commands:GetUnitCreeperDamages |Get]] | [[4rpl:commands:SetUnitCreeperDamages |Set]] \\ +
-UnitDamagedByAC  [[4rpl:commands:GetUnitDamagedByAC |Get]] | [[4rpl:commands:SetUnitDamagedByAC |Set]] \\ +
-UnitDamagedByCreeper  [[4rpl:commands:GetUnitDamagedByCreeper |Get]] | [[4rpl:commands:SetUnitDamagedByCreeper |Set]] \\ +
-UnitDestroyed  [[4rpl:commands:GetUnitDestroyed |Get]] \\ +
-UnitDestroyUnevenLand  [[4rpl:commands:GetUnitDestroyUnevenLand |Get]] | [[4rpl:commands:SetUnitDestroyUnevenLand |Set]] \\ +
-UnitEnabled  [[4rpl:commands:GetUnitEnabled |Get]] | [[4rpl:commands:SetUnitEnabled |Set]] \\ +
-UnitERNState  [[4rpl:commands:GetUnitERNState |Get]] \\ +
-UnitFireOffset  [[4rpl:commands:GetUnitFireOffset |Get]] | [[4rpl:commands:SetUnitFireOffset |Set]] \\ +
-UnitFootprintResistsCreeperHeight  [[4rpl:commands:GetUnitFootprintResistsCreeperHeight |Get]] | [[4rpl:commands:SetUnitFootprintResistsCreeperHeight |Set]] \\ +
-UnitHealth  [[4rpl:commands:GetUnitHealth |Get]] | [[4rpl:commands:SetUnitHealth |Set]] \\ +
-UnitLOSEnabled [[4rpl:commands:SetUnitLOSEnabled |Set]] \\ +
-UnitMaxAmmo  [[4rpl:commands:GetUnitMaxAmmo |Get]] | [[4rpl:commands:SetUnitMaxAmmo |Set]] \\ +
-UnitMaxHealth  [[4rpl:commands:GetUnitMaxHealth |Get]] | [[4rpl:commands:SetUnitMaxHealth |Set]] \\ +
-UnitOccupiesLand  [[4rpl:commands:GetUnitOccupiesLand |Get]] | [[4rpl:commands:SetUnitOccupiesLand |Set]] \\ +
-UnitOfficialName  [[4rpl:commands:GetUnitOfficialName |Get]] \\ +
-UnitPacketRequestRate  [[4rpl:commands:GetUnitPacketRequestRate |Get]] | [[4rpl:commands:SetUnitPacketRequestRate |Set]] \\ +
-UnitRange  [[4rpl:commands:GetUnitRange |Get]] | [[4rpl:commands:SetUnitRange |Set]] \\ +
-UnitRangeWithMods  [[4rpl:commands:GetUnitRangeWithMods |Get]] \\ +
-UnitRequestPackets  [[4rpl:commands:GetUnitRequestPackets |Get]] | [[4rpl:commands:SetUnitRequestPackets |Set]] \\ +
-UnitStunCount  [[4rpl:commands:GetUnitStunCount |Get]] \\ +
-UnitSupplied  [[4rpl:commands:GetUnitSupplied |Get]] | [[4rpl:commands:SetUnitSupplied |Set]] \\ +
-UnitSuppressCount  [[4rpl:commands:GetUnitSuppressCount |Get]] | [[4rpl:commands:SetUnitSuppressCount |Set]] \\ +
-UnitTargetOffset  [[4rpl:commands:GetUnitTargetOffset |Get]] | [[4rpl:commands:SetUnitTargetOffset |Set]] \\ +
-UnitUpdateCount  [[4rpl:commands:GetUnitUpdateCount |Get]] \\ +
-</WRAP> +
----- +
- +
-<WRAP column> +
-==== Unit Objects==== +
-[[4rpl:commands:CreateTrail]] \\ +
-[[4rpl:commands:DestroyTrail]] \\ +
-ObjActive [[4rpl:commands:GetObjActive|Get]]  |  [[4rpl:commands:SetObjActive|Set]] \\  +
-ObjColor [[4rpl:commands:GetObjColor|Get]]  |  [[4rpl:commands:SetObjColor|Set]] \\  +
-ObjFacingAngle [[4rpl:commands:GetObjFacingAngle|Get]] \\  +
-ObjFacingAngleCell [[4rpl:commands:GetObjFacingAngleCell|Get]] \\  +
-ObjForward [[4rpl:commands:GetObjForward|Get]]  |  [[4rpl:commands:SetObjForward|Set]] \\  +
-ObjLightConeVisible [[4rpl:commands:SetObjLightConeVisible|Set]] \\  +
-ObjPosition [[4rpl:commands:GetObjPosition|Get]]  |  [[4rpl:commands:SetObjPosition|Set]] \\  +
-ObjRotation [[4rpl:commands:GetObjRotation|Get]]  |  [[4rpl:commands:SetObjRotation|Set]] \\  +
-ObjScale [[4rpl:commands:GetObjScale|Get]]  |  [[4rpl:commands:SetObjScale|Set]] \\  +
-ObjText [[4rpl:commands:SetObjText|Set]] \\  +
-ObjTextBillboard [[4rpl:commands:SetObjTextBillboard|Set]] \\  +
-ObjTextColor [[4rpl:commands:SetObjTextColor|Set]] \\  +
-ObjTextFontSize [[4rpl:commands:SetObjTextFontSize|Set]] \\  +
-[[4rpl:commands:RotateObj]] \\ +
-[[4rpl:commands:RotateObjTowards]] \\ +
-[[4rpl:commands:RotateObjTowardsCell]] \\ +
- +
-</WRAP> +
-<WRAP column> +
-==== Beams==== +
-[[4rpl:commands:AttachBeam]] \\ +
-BeamBrightness [[4rpl:commands:SetBeamBrightness|Set]] \\ +
-BeamColor [[4rpl:commands:SetBeamColor|Set]]  \\ +
-BeamEnd [[4rpl:commands:SetBeamEnd|Set]]  \\ +
-BeamForceLocalEnd [[4rpl:commands:SetBeamForceLocalEnd|Set]]  \\ +
-BeamStart [[4rpl:commands:SetBeamStart|Set]]  \\ +
-BeamVisible [[4rpl:commands:SetBeamVisible|Set]] \\  +
-BeamWidth [[4rpl:commands:SetBeamWidth|Set]]  \\ +
-[[4rpl:commands:CreateBeam]] \\ +
-[[4rpl:commands:DestroyAllAttachedBeams]] \\ +
-[[4rpl:commands:DestroyAllBeams]] \\ +
-[[4rpl:commands:DestroyBeam]] \\ +
-[[4rpl:commands:IsBeam]] \\ +
-[[4rpl:commands:UnattachBeam]] \\ +
- +
-</WRAP> +
-<WRAP column> +
-==== IO==== +
-CameraMode [[4rpl:commands:GetCameraMode|Get]] \\ +
-CameraPosition [[4rpl:commands:GetCameraPosition|Get]]  |  [[4rpl:commands:SetCameraPosition|Set]] \\ +
-CameraRotation [[4rpl:commands:GetCameraRotation|Get]]  |  [[4rpl:commands:SetCameraRotation|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]] \\ +
-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]] \\ +
-MouseScrollDelta [[4rpl:commands:GetMouseScrollDelta|Get]] \\ +
-PointerTerrainCoords [[4rpl:commands:GetPointerTerrainCoords|Get]] \\ +
-[[4rpl:commands:ResetCamera]] \\ +
-RPLCam [[4rpl:commands:SetRPLCam|Set]] \\ +
-[[4rpl:commands:RPLCamCopyPosAndRot]] \\ +
-RPLCamPosition [[4rpl:commands:SetRPLCamPosition|Set]] \\ +
-RPLCamRotation [[4rpl:commands:SetRPLCamRotation|Set]] \\ +
-[[4rpl:commands:RPLCamTween]] \\ +
-[[4rpl:commands:RPLCamTweenLookAt]]\\ +
- +
-</WRAP> +
-<WRAP column> +
-==== Theme==== +
-[[4rpl:commands:ApplyTheme]] \\ +
-ThemeCliffLight [[4rpl:commands:GetThemeCliffLight|Get]]  |  [[4rpl:commands:SetThemeCliffLight|Set]] \\ +
-ThemeCliffLightBoost [[4rpl:commands:GetThemeCliffLightBoost|Get]]  |  [[4rpl:commands:SetThemeCliffLightBoost|Set]] \\ +
-ThemeCliffNormal [[4rpl:commands:GetThemeCliffNormal|Get]]  |  [[4rpl:commands:SetThemeCliffNormal|Set]] \\ +
-ThemeCliffNormalAmt [[4rpl:commands:GetThemeCliffNormalAmt|Get]]  |  [[4rpl:commands:SetThemeCliffNormalAmt|Set]] \\ +
-ThemeCliffNormalScale [[4rpl:commands:GetThemeCliffNormalScale|Get]]  |  [[4rpl:commands:SetThemeCliffNormalScale|Set]] \\ +
-ThemeCliffScale [[4rpl:commands:GetThemeCliffScale|Get]]  |  [[4rpl:commands:SetThemeCliffScale|Set]] \\ +
-ThemeCliffTexture [[4rpl:commands:GetThemeCliffTexture|Get]]  |  [[4rpl:commands:SetThemeCliffTexture|Set]] \\ +
-ThemeNormal [[4rpl:commands:GetThemeNormal|Get]]  |  [[4rpl:commands:SetThemeNormal|Set]] \\ +
-ThemeNormalAmt [[4rpl:commands:GetThemeNormalAmt|Get]]  |  [[4rpl:commands:SetThemeNormalAmt|Set]] \\ +
-ThemeNormalScale [[4rpl:commands:GetThemeNormalScale|Get]]  |  [[4rpl:commands:SetThemeNormalScale|Set]] \\ +
-ThemeTexture [[4rpl:commands:GetThemeTexture|Get]]  |  [[4rpl:commands:SetThemeTexture|Set]] \\ +
-ThemeTextureDeTile [[4rpl:commands:GetThemeTextureDeTile|Get]]  |  [[4rpl:commands:SetThemeTextureDeTile|Set]] \\ +
-ThemeTextureLight [[4rpl:commands:GetThemeTextureLight|Get]]  |  [[4rpl:commands:SetThemeTextureLight|Set]] \\ +
-ThemeTextureLightBoost [[4rpl:commands:GetThemeTextureLightBoost|Get]]  |  [[4rpl:commands:SetThemeTextureLightBoost|Set]] \\ +
-ThemeTextureScale [[4rpl:commands:GetThemeTextureScale|Get]]  |  [[4rpl:commands:SetThemeTextureScale|Set]] \\ +
- +
-</WRAP> +
----- +
- +
-<WRAP column> +
-==== Editing==== +
-[[4rpl:commands:DestroyTerrainRangeIndicator]] \\ +
-[[4rpl:commands:EditAddUndo]] \\ +
-[[4rpl:commands:EditRedo]] \\ +
-[[4rpl:commands:EditRestoreUndo]] \\ +
-[[4rpl:commands:ShowTerrainRangeIndicator]] \\ +
- +
-</WRAP> +
-<WRAP column> +
-==== Strings==== +
-[[4rpl:commands:Concat]] \\ +
-[[4rpl:commands:Concat3]] \\  +
-[[4rpl:commands:Concat4]] \\  +
-[[4rpl:commands:EndsWith]] \\  +
-[[4rpl:commands:Split]] \\  +
-[[4rpl:commands:StartsWith]] \\  +
-[[4rpl:commands:StringLength]] \\  +
-[[4rpl:commands:StringReplace]] \\  +
-[[4rpl:commands:StringToList]] \\  +
-[[4rpl:commands:Substring]] \\  +
-[[4rpl:commands:ToLower]] \\  +
-[[4rpl:commands:ToUpper]] \\  +
-[[4rpl:commands:asstring]] \\  +
- +
-</WRAP> +
-<WRAP column> +
-==== Tables==== +
-[[4rpl:commands:CreateTable ]] \\  +
-GlobalTable  [[4rpl:commands:GetGlobalTable |Get]]  |  [[4rpl:commands:SetGlobalTable |Set]]  \\  +
-[[4rpl:commands:RemoveTableElement ]] \\  +
-[[4rpl:commands:Table ]] \\  +
-TableElement  [[4rpl:commands:GetTableElement |Get]]  |  [[4rpl:commands:SetTableElement |Set]]  \\  +
-TableElementRPN  [[4rpl:commands:SetTableElementRPN |Set]]  \\  +
-TableKeys  [[4rpl:commands:GetTableKeys |Get]]  \\  +
-[[4rpl:commands:TableN ]] \\  +
-TableValues  [[4rpl:commands:GetTableValues |Get]]  \\  +
- +
-</WRAP> +
-<WRAP column> +
-==== Sound==== +
-[[4rpl:commands:PlaySoundAtPosition]] \\  +
-[[4rpl:commands:PlaySoundLoop]] \\  +
-[[4rpl:commands:PlaySound]] \\  +
-[[4rpl:commands:StopSoundLoop]] \\  +
- +
-</WRAP> +
-<WRAP column> +
-==== Raster==== +
-[[4rpl:commands:BlitFadeRaster]] \\  +
-[[4rpl:commands:BlitRaster]] \\  +
-[[4rpl:commands:ClearRaster]] \\  +
-Raster [[4rpl:commands:SetRaster|Set ]]\\  +
-RasterC[[4rpl:commands:SetRasterC|Set ]]\\  +
-[[4rpl:commands:RasterColor]] \\  +
-RasterSize [[4rpl:commands:SetRasterSize|Set ]]\\  +
-[[4rpl:commands:ShowRaster]] \\  +
- +
-</WRAP> +
-<WRAP column> +
-==== Data==== +
-[[4rpl:commands:IsNull]] \\  +
-[[4rpl:commands:NULL]] \\  +
-Type [[4rpl:commands:GetType|Get ]]\\  +
- +
-</WRAP> +
-<WRAP column> +
-==== Timers==== +
-Timer0  [[4rpl:commands:GetTimer0 |Get]]  |  [[4rpl:commands:SetTimer0 |Set]]  \\  +
-Timer1  [[4rpl:commands:GetTimer1 |Get]]  |  [[4rpl:commands:SetTimer1 |Set]]  \\  +
-Timer2  [[4rpl:commands:GetTimer2 |Get]]  |  [[4rpl:commands:SetTimer2 |Set]]  \\  +
-Timer3  [[4rpl:commands:GetTimer3 |Get]]  |  [[4rpl:commands:SetTimer3 |Set]]  \\  +
-TimerObeyPause0  [[4rpl:commands:SetTimerObeyPause0 |Set]]  \\  +
-TimerObeyPause1  [[4rpl:commands:SetTimerObeyPause1 |Set]]  \\  +
-TimerObeyPause2  [[4rpl:commands:SetTimerObeyPause2 |Set]]  \\  +
-TimerObeyPause3  [[4rpl:commands:SetTimerObeyPause3 |Set]]  \\  +
- +
-</WRAP> +
----- +
-<WRAP column> +
-==== Eggs/Orbs==== +
-[[4rpl:commands:CreateEgg]] \\  +
-[[4rpl:commands:CreateOrb]] \\  +
-EggOrbData [[4rpl:commands:SetEggOrbData|Set ]]\\  +
- +
-</WRAP> +
-<WRAP column> +
-==== Terrain==== +
-[[4rpl:commands:BounceEdgeCollision ]] \\ +
-[[4rpl:commands:BounceTerrainCollision ]] \\ +
-ExactTerrain  [[4rpl:commands:GetExactTerrain |Get]] \\  +
-ExactTerrainAndNormal  [[4rpl:commands:GetExactTerrainAndNormal |Get]] \\  +
-ExactTerrainWithShield  [[4rpl:commands:GetExactTerrainWithShield |Get]] \\  +
-[[4rpl:commands:FloodFillTerrain ]] \\ +
-Terrain  [[4rpl:commands:GetTerrain |Get]]  |  [[4rpl:commands:SetTerrain |Set]] \\  +
-TerrainInRange  [[4rpl:commands:SetTerrainInRange |Set]] \\  +
-TerrainLine  [[4rpl:commands:SetTerrainLine |Set]] \\  +
-TerrainLOS  [[4rpl:commands:GetTerrainLOS |Get]] \\  +
-TerrainOverride [[4rpl:commands:GetTerrainOverride|Get]]  |  [[4rpl:commands:SetTerrainOverride|Set]] \\  +
-TerrainSpecial  [[4rpl:commands:GetTerrainSpecial |Get]]  |  [[4rpl:commands:SetTerrainSpecial |Set]] \\  +
-TerrainVector  [[4rpl:commands:GetTerrainVector |Get]] \\  +
-VoidHeight  [[4rpl:commands:GetVoidHeight |Get]]  |  [[4rpl:commands:SetVoidHeight |Set]] \\  +
- +
-</WRAP> +
-<WRAP column> +
-==== Creeper==== +
-[[4rpl:commands:AddCreeper  ]] \\ +
-[[4rpl:commands:AddCreeperInRange  ]] \\ +
-[[4rpl:commands:AddCreeperWithCap  ]] \\ +
-[[4rpl:commands:AddCreeperWithCapInRange  ]] \\ +
-[[4rpl:commands:ClipCreeperLine  ]] \\ +
-[[4rpl:commands:ConvertACToCreeper  ]] \\ +
-[[4rpl:commands:ConvertCreeperToAC  ]] \\ +
-Creeper   [[4rpl:commands:GetCreeper  |Get]]  |  [[4rpl:commands:SetCreeper  |Set]]  \\ +
-CreeperCutoff   [[4rpl:commands:GetCreeperCutoff  |Get]]  |  [[4rpl:commands:SetCreeperCutoff  |Set]] \\ +
-CreeperInRange   [[4rpl:commands:SetCreeperInRange  |Set]] \\ +
-Crimson  [[4rpl:commands:SetCrimson |Set]] \\ +
-Crimson   [[4rpl:commands:GetCrimson  |Get]] \\ +
-[[4rpl:commands:DamageCreeper  ]] \\ +
-ExactCreeperHeight   [[4rpl:commands:GetExactCreeperHeight  |Get]] \\ +
-Flow   [[4rpl:commands:GetFlow  |Get]]  |  [[4rpl:commands:SetFlow  |Set]] \\ +
-[[4rpl:commands:IsCreeperCutoff  ]] \\ +
-MaxACCell   [[4rpl:commands:GetMaxACCell  |Get]] \\ +
-MaxCreeperCell   [[4rpl:commands:GetMaxCreeperCell  |Get]] \\ +
-MaxCreeperCellWithDamage   [[4rpl:commands:GetMaxCreeperCellWithDamage  |Get]] \\ +
-MinACCell   [[4rpl:commands:GetMinACCell  |Get]] \\ +
-MinCreeperCell   [[4rpl:commands:GetMinCreeperCell  |Get]] \\ +
-MinCreeperCellWithDamage   [[4rpl:commands:GetMinCreeperCellWithDamage  |Get]] \\ +
-TotalAC   [[4rpl:commands:GetTotalAC  |Get]] \\ +
-TotalCreeper   [[4rpl:commands:GetTotalCreeper  |Get]] \\ +
- +
-</WRAP> +
-<WRAP column> +
-==== Mission==== +
-[[4rpl:commands:AcquireMissionObjective ]] \\ +
-CustomObjectiveText  [[4rpl:commands:SetCustomObjectiveText |Set]] \\ +
-[[4rpl:commands:EndMission ]] \\ +
-MissionObjectiveEnabled  [[4rpl:commands:GetMissionObjectiveEnabled |Get]]  |  [[4rpl:commands:SetMissionObjectiveEnabled |Set]]  \\ +
-MissionObjectiveRequired  [[4rpl:commands:GetMissionObjectiveRequired |Get]]  |  [[4rpl:commands:SetMissionObjectiveRequired |Set]] \\  +
-MissionObjectiveState  [[4rpl:commands:GetMissionObjectiveState |Get]]  \\ +
- +
-</WRAP> +
-<WRAP column> +
-==== Decals ==== +
-DecalVisible   [[4rpl:commands:GetDecalVisible  |Get]]  |  [[4rpl:commands:SetDecalVisible  |Set]] \\  +
-DecalColor   [[4rpl:commands:GetDecalColor  |Get]]  |  [[4rpl:commands:SetDecalColor  |Set]] \\ +
-DecalSize   [[4rpl:commands:GetDecalSize  |Get]]  |  [[4rpl:commands:SetDecalSize  |Set]] \\ +
-DecalPosition   [[4rpl:commands:GetDecalPosition  |Get]]  |  [[4rpl:commands:SetDecalPosition  |Set]] \\ +
- +
-</WRAP> +
-</WRAP>+
playground/playground.txt · Last modified: 2021/07/14 12:32 by Karsten75