Both sides previous revisionPrevious revisionNext revision | Previous revision |
playground:playground [2021/01/19 15:20] – Karsten75 | playground:playground [2025/02/14 14:57] (current) – external edit 127.0.0.1 |
---|
====== PlayGround ====== [[units]] | |
| |
{{page>cw4:header&nofooter}} | {{page>cw4:header&nofooter}} |
| |
{{page>4rpl:header&nofooter}} | {{page>4rpl:header&nofooter}} |
| |
====== 4RPL Scripting Language ====== | ====== 4RPL Scripting Language ====== |
Read the [[Overview]], or see some [[Tutorials]] | |
| Want to get started? Read the [[Overview]], or see some [[cw4:Tutorials]]. Also some help for testing [[CW4:Mverse]] scripts. |
===== API reference ===== | ===== API reference ===== |
| |
<WRAP group> | <WRAP group> |
| |
<WRAP column> | <WRAP column> |
| |
==== Variables ==== | ==== 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:define|$init_var]] (define) \\ |
[[4rpl:commands:SpecialSyntax#vectors| · Vectors]] \\ | [[4rpl:commands:define2|$$init_var]] (define) \\ |
[[4rpl:commands:SpecialSyntax#lists| · Lists]] \\ | [[4rpl:commands:read|<-var]] (read) \\ |
[[4rpl:commands:SpecialSyntax#tables| · Tables]] \\ | [[4rpl:commands:write|->var]] (write) \\ |
| [[4rpl:commands:exists|-?var]] (exists) \\ |
| [[4rpl:commands:delete|--var]] (delete) \\ |
| [[4rpl:commands:refread|<-!]] (ref read) \\ |
| [[4rpl:commands:refwrite|->!]] (ref write) \\ |
| [[4rpl:commands:refexists|-?!]] (ref exists) \\ |
| [[4rpl:commands:refdelete|--!]] (ref delete) \\ |
| Clear [[4rpl:commands:ClearLocals|Locals]] | [[4rpl:commands:ClearGlobals|Globals]] \\ |
| [[4rpl:commands:Copy]] \\ |
| [[4rpl:commands:DeepCopy]] \\ |
| [[4rpl:commands:NotPersist]] \\ |
| \\ |
| |
| **Special var syntax** \\ |
| [[4rpl:commands:specialsyntax#global_variables| · Global variables]] \\ |
| [[4rpl:commands:SpecialSyntax#vectors| · Vectors]] \\ |
| [[4rpl:commands:SpecialSyntax#lists| · Lists]] \\ |
| [[4rpl:commands:SpecialSyntax#tables| · Tables]] \\ |
</WRAP> | </WRAP> |
| |
<WRAP column> | <WRAP column> |
| |
==== Functions ==== | ==== Functions ==== |
[[4rpl:commands:call|@FUNC_NAME]] \\ | |
[[4rpl:commands:func|:FUNC_NAME]] \\ | |
| |
**Built in Function Callbacks** \\ | [[4rpl:commands:call|@FUNC_NAME]] \\ [[4rpl:commands:func|:FUNC_NAME]] \\ [[4rpl:commands:refcall]] \\ |
| |
| **Built in Callbacks** \\ |
[[4rpl:commands:func_awake|:Awake]] \\ | [[4rpl:commands:func_awake|:Awake]] \\ |
[[4rpl:commands:func_gameloaded|:GameLoaded]] \\ | [[4rpl:commands:func_buildcomplete|:BuildComplete]] \\ |
[[4rpl:commands:func_destroyed|:Destroyed]] \\ | [[4rpl:commands:func_destroyed|:Destroyed]] \\ |
[[4rpl:commands:func_once|:Once]] \\ | [[4rpl:commands:func_gameloaded|:GameLoaded]] \\ |
[[4rpl:commands:func_buildcomplete|:BuildComplete]] \\ | [[4rpl:commands:func_once|:Once]] \\ |
| [[4rpl:commands:func_selected|:_Selected]] \\ |
[[4rpl:commands:func_uicallback|:_UICallback]] \\ | [[4rpl:commands:func_uicallback|:_UICallback]] \\ |
| [[4rpl:commands:func_warepacketsent|:_WarePacketSent]] \\ |
| |
| \\ |
| |
| **Built in Messages** \\ |
| [[4rpl:commands:MSG_FrameAdvance]] \\ |
| [[4rpl:commands:MSG_PreUpdate]] \\ |
| [[4rpl:commands:MSG_PostUpdate]] \\ |
| [[4rpl:commands:MSG_SaveGame]] \\ |
| |
</WRAP> | </WRAP> |
| |
<WRAP column> | <WRAP column> |
| |
==== Arithmetic ==== | ==== 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 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]] \\ |
| |
| \\ \\ \\ \\ \\ \\ \\ |
| ** Syntax ** \\ |
| [[4rpl:commands:Comma]] \\ |
| [[4rpl:commands:Comment]] \\ |
| [[4RPL:Data Types]] \\ |
| [[cw4:Symbol Aliasing]] |
</WRAP> | </WRAP> |
| |
<WRAP column> | <WRAP column> |
==== Comparators==== | |
<wrap note><sub>//Note//</sub>[(alias)]</wrap> \\ | ==== Comparators ==== |
[[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 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]] \\ |
| |
| \\ \\ |
| **Named Collections** \\ |
| · [[4rpl:commands:Unit Types]] \\ |
| · [[4rpl:commands:Sounds]] \\ |
| |
</WRAP> | </WRAP> |
| |
<WRAP column> | <WRAP column> |
==== Logic==== | |
[[4rpl:commands:and]] \\ [[4rpl:commands:or]] \\ [[4rpl:commands:xor]] \\ [[4rpl:commands:not]] \\ [[4rpl:commands:true]] \\ [[4rpl:commands:false]] \\ | ==== Logic ==== |
| |
| <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> |
| |
---- | ---- |
| |
<WRAP column> | <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]] \\ | ==== 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> |
| |
<WRAP column> | <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]] \\ | ==== Flow Control ==== |
| |
| [[4rpl:commands:break]] \\ |
| [[4rpl:commands:case]] \\ |
| [[4rpl:commands:do]] \\ |
| [[4rpl:commands:else]] \\ |
| [[4rpl:commands:endcase]] \\ |
| [[4rpl:commands:endif]] \\ |
| [[4rpl:commands:endonce]] \\ |
| [[4rpl:commands:endswitch]] \\ |
| [[4rpl:commands:endwhile]] \\ |
| [[4rpl:commands:if]] \\ |
| [[4rpl:commands:I]] \\ |
| [[4rpl:commands:J]] \\ |
| [[4rpl:commands:K]] \\ |
| [[4rpl:commands:loop]] \\ |
| [[4rpl:commands:once]] \\ |
| [[4rpl:commands:repeat]] \\ |
| [[4rpl:commands:return]] \\ |
| [[4rpl:commands:switch]] \\ |
| [[4rpl:commands:while]] \\ |
| |
</WRAP> | </WRAP> |
| |
<WRAP column> | <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]] \\ | ==== Constants ==== |
| |
| [[4rpl:commands:Deg2Rad]] \\ [[4rpl:commands:E]] \\ [[4rpl:commands:HalfPI]] \\ [[4rpl:commands:PI]] \\ [[4rpl:commands:QuarterPI]] \\ [[4rpl:commands:Rad2Deg]] \\ |
| [[4rpl:commands:Self]] \\ |
| [[4rpl:commands:TAU]] \\ [[4rpl:commands:ThreeHalvesPI]] \\ [[4rpl:commands:ThreeQuarterPI]] \\ [[4rpl:commands:TwoPI]] \\ [[4rpl:commands:Vector0]] \\ |
| |
</WRAP> | </WRAP> |
| |
<WRAP column> | <WRAP column> |
==== Lists==== | |
[[4rpl:commands:CreateList]] \\ | ==== Tables ==== |
[[playground:getgloballist|GlobalList]] [[playground:getgloballist|get]] | [[playground:setgloballist|set]] \\ | //<sup>See [[4rpl:commands:specialsyntax#Tables| Special syntax]]</sup>// \\ |
[[4rpl:commands:List]] \\ | [[4rpl:commands:ClearTable]] \\ |
[[4rpl:commands:ListN]] \\ | [[4rpl:commands:CreateTable]] \\ |
[[4rpl:commands:CreateListStartingSize]] \\ | GlobalTable [[4rpl:commands:GetGlobalTable|Get]] | [[4rpl:commands:SetGlobalTable|Set]] \\ |
ListElement [[4rpl:commands:GetListElement|get]] [[4rpl:commands:SetListElement|set]] \\ | [[4rpl:commands:RemoveTableElement]] \\ |
[[4rpl:commands:SetListElementRPN|set]] ListElementRPN \\ | [[4rpl:commands:Table]] \\ |
[[4rpl:commands:AppendToList]] \\ | [[4rpl:commands:TableContainsKey]] \\ |
[[4rpl:commands:PushList]] \\ | TableCount [[4rpl:commands:GetTableCount]|Get]] \\ |
[[4rpl:commands:PopList]] \\ | TableElement [[4rpl:commands:GetTableElement|Get]] | [[4rpl:commands:SetTableElement|Set]] \\ |
[[4rpl:commands:PrependToList]] \\ | TableElementRPN [[4rpl:commands:SetTableElementRPN|Set]] \\ |
[[4rpl:commands:AppendStackToList]] \\ | TableKeys [[4rpl:commands:GetTableKeys|Get]] \\ |
[[4rpl:commands:PrependStackToList]] \\ | [[4rpl:commands:TableN]] \\ |
[[4rpl:commands:InsertListElement]] \\ | TableValues [[4rpl:commands:GetTableValues|Get]] \\ |
[[4rpl:commands:RemoveListElement]] \\ | |
[[4rpl:commands:GetListCount|get]] ListCount \\ | |
[[4rpl:commands:ListContains]] \\ | |
[[4rpl:commands:ReverseList]] \\ | |
[[4rpl:commands:ClearList]] \\ | |
| |
</WRAP> | </WRAP> |
| |
<WRAP column> | <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]] \\ | ==== Vectors ==== |
| |
| //<sup>See [[4rpl:commands:specialsyntax#vectors| Special syntax]]</sup>// \\ |
| Cell [[4rpl:commands:FromCell|From]] | [[4rpl:commands:ToCell|To]] \\ |
| [[4rpl:commands:Cross]] \\ |
| [[4rpl:commands:Dot]] \\ |
| [[4rpl:commands:EV2]] \\ |
| [[4rpl:commands:EV3]] \\ |
| [[4rpl:commands:EV4]] \\ |
| [[4rpl:commands:Magnitude]] \\ |
| [[4rpl:commands:Normalize]] \\ |
| [[4rpl:commands:SqrMagnitude]] \\ |
| [[4rpl:commands:V2]] \\ |
| [[4rpl:commands:V3]] \\ |
| [[4rpl:commands:V4]] \\ |
| |
</WRAP> | </WRAP> |
| |
<WRAP column> | <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]] \\ | ==== Output ==== |
| <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:ClearPrintLog]] \\ |
| [[4rpl:commands:DQ]] \\ |
| [[4rpl:commands:LF]] \\ |
| [[4rpl:commands:Print]] | [[4rpl:commands:Print2]] | [[4rpl:commands:Print3]] | [[4rpl:commands:Print4]] | [[4rpl:commands:Print5]] \\ |
| [[4rpl:commands:PrintAllSp]] \\ |
| [[4rpl:commands:PrintAll]] \\ |
| PrintPrefixEnabled [[[[4rpl:commands:GetPrintPrefixEnabled|Get]] | [[[[4rpl:commands:SetPrintPrefixEnabled|Set]] \\ |
| [[4rpl:commands:PrintStack]] \\ |
| [[4rpl:commands:TAB]] \\ |
| |
</WRAP> | </WRAP> |
| |
| ---- |
<WRAP column> | <WRAP column> |
==== Stack==== | ==== Lists ==== |
[[4rpl:commands:dup]] \\ [[4rpl:commands:dup2]] \\ [[4rpl:commands:swap]] \\ [[4rpl:commands:pop]] \\ [[4rpl:commands:ClearStack]] \\ [[4rpl:commands:StackSize]] \\ [[4rpl:commands:Copy]] \\ [[4rpl:commands:DeepCopy]] \\ | //<sup>See [[4rpl:commands:specialsyntax#lists| Special syntax]]</sup>// \\ |
| [[4rpl:commands:AppendListToList]] \\ |
| [[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]] \\ |
| ListIndex [[4rpl:commands:GetListIndex|Get]] \\ |
| ListIndices [[4rpl:commands:GetListIndices|Get]] \\ |
| [[4rpl:commands:ListN]] \\ |
| [[4rpl:commands:ListToStack] \\ |
| [[4rpl:commands:PopList]] \\ |
| [[4rpl:commands:PrependListToList]] \\ |
| [[4rpl:commands:PrependStackToList]] \\ |
| [[4rpl:commands:PrependToList]] \\ |
| [[4rpl:commands:PushList]] \\ |
| [[4rpl:commands:RemoveListElement]] \\ |
| [[4rpl:commands:ReverseList]] \\ |
| [[4rpl:commands:StringToList]] |
</WRAP> | </WRAP> |
---- | |
<WRAP column> | <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]] \\ | ==== Math ==== |
| |
| [[4rpl:commands:abs]] \\ |
| [[4rpl:commands:acos]] \\ |
| [[4rpl:commands:approximately]] \\ |
| [[4rpl:commands:asin]] \\ |
| [[4rpl:commands:atan2]] \\ |
| [[4rpl:commands:atan]] \\ |
| [[4rpl:commands:avg2]] \\ |
| [[4rpl:commands:ceil]] \\ |
| [[4rpl:commands:cos]] \\ |
| [[4rpl:commands:floor]] \\ |
| [[4rpl:commands:ln]] \\ |
| [[4rpl:commands:log10]] \\ |
| [[4rpl:commands:log]] \\ |
| [[4rpl:commands:max]] \\ |
| [[4rpl:commands:maxint]] \\ |
| [[4rpl:commands:min]] \\ |
| [[4rpl:commands:minint]] \\ |
| [[4rpl:commands:neg]] \\ |
| [[4rpl:commands:round]] \\ |
| [[4rpl:commands:sign0]] \\ |
| [[4rpl:commands:sign]] \\ |
| [[4rpl:commands:sin]] \\ |
| [[4rpl:commands:sqrt]] \\ |
| [[4rpl:commands:tan]] \\ |
| |
</WRAP> | </WRAP> |
| |
<WRAP column> | <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]] \\ | ==== Math Utility ==== |
| |
| [[4rpl:commands:BallisticArcLateral]] \\ |
| [[4rpl:commands:BallisticArcPos]] \\ |
| [[4rpl:commands:clamp01]] \\ |
| [[4rpl:commands:clamp]] \\ |
| [[4rpl:commands:DistanceCell]] \\ |
| [[4rpl:commands:DistancePointLine]] \\ |
| [[4rpl:commands:Distance]] \\ |
| [[4rpl:commands:FC]] \\ |
| [[4rpl:commands:MoveTowards]] \\ |
| [[4rpl:commands:NumRepeat]] \\ |
| [[4rpl:commands:PingPong]] \\ |
| [[4rpl:commands:RandFloat]] \\ |
| [[4rpl:commands:RandInt]] \\ |
| [[4rpl:commands:RotateTowardsCell]] \\ |
| [[4rpl:commands:RotateTowards]] \\ |
| [[4rpl:commands:ShortestAngle]] \\ |
| [[4rpl:commands:SignalGenerator]] \\ |
| [[4rpl:commands:UFC]] \\ |
| [[4rpl:commands:VectorAngleCell]] \\ |
| [[4rpl:commands:VectorAngle]] \\ |
| |
</WRAP> | </WRAP> |
| |
<WRAP column> | <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]] \\ | ==== Data ==== |
| |
| [[4rpl:commands:AsFloat]] \\ [[4rpl:commands:AsInt]] \\ [[4rpl:commands:AsString]] \\ [[4rpl:commands:IsNull]] \\ [[4rpl:commands:NULL]] \\ Type [[4rpl:commands:GetType|Get ]]\\ |
| |
</WRAP> | </WRAP> |
| |
<WRAP column> | <WRAP column> |
==== Unit Attributes==== | |
[[4rpl:commands:AddAsWareHolder ]] \\ | ==== Timers ==== |
[[4rpl:commands:RemoveAsWareHolder ]] \\ | |
UnitAmmo [[4rpl:commands:GetUnitAmmo |Get]] | [[4rpl:commands:SetUnitAmmo |Set]] \\ | 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]] \\ |
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]] \\ | |
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]] \\ | |
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> |
---- | |
| |
<WRAP column> | <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]] \\ | ==== Editing ==== |
| |
| [[4rpl:commands:DestroyTerrainRangeIndicator]] \\ [[4rpl:commands:EditAddUndo]] \\ [[4rpl:commands:EditRedo]] \\ [[4rpl:commands:EditRestoreUndo]] \\ [[4rpl:commands:ShowTerrainRangeIndicator]] \\ |
| |
</WRAP> | </WRAP> |
| |
| ---- |
| |
<WRAP column> | <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]] \\ | ==== Game ==== |
| |
| 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]] \\ |
| DarkCell [[4rpl:commands:getDarkCell|Get]] | [[4rpl:commands:setDarkCell|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]] \\ |
| [[4rpl:commands:GenerateEnergy]] \\ |
| [[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]] \\ |
| MeshHealth [[4rpl:commands:GetMeshHealth|Get]] | [[4rpl:commands:SetMeshHealth|Set]] \\ |
| 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:RemoveUnitDamageMap]] \\ |
| SelectedUnits [[4rpl:commands:GetSelectedUnits|Get]] \\ |
| [[4rpl:commands:ShowADAMessage]] \\ |
| [[4rpl:commands:ShowADAMessageAtCell]] \\ |
| [[4rpl:commands:ShowADAMessageAtUnit]] \\ |
| [[4rpl:commands:ShowGameMessage]] \\ |
| [[4rpl:commands:ShowUIIndicator]] \\ |
| SoylentCount [[4rpl:commands:SetSoylentCount|Set]] \\ |
| SoylentDelay [[4rpl:commands:SetSoylentDelay|Set]] \\ |
| SoylentMode [[4rpl:commands:GetSoylentMode|Get]] | [[4rpl:commands:SetSoylentMode|Set]] \\ |
| [[4rpl:commands:StopConsole]]\\ [[4rpl:commands:SuppressTotemActivation]] \\ |
| TerraformActiveCell [[4rpl:commands:SetTerraformActiveCell|Set]] \\ |
| TerraformDigSite [[4rpl:commands:GetTerraformDigSite|Get]] \\ |
| TerraformMarker [[4rpl:commands:GetTerraformMarker|Get]] | [[4rpl:commands:SetTerraformMarker|Set]] \\ |
| TerraformMenuOpen [[4rpl:commands:GetTerraformMenuOpen|Get]] \\ |
| TimeString [[4rpl:commands:GetTimeString|Get]] \\ |
| UnderCreeperEffectEnabled [[4rpl:commands:GetUnderCreeperEffectEnabled|Get]] | [[4rpl:commands:SetUnderCreeperEffectEnabled|Set]] \\ |
| UnitsSelectable [[4rpl:commands:SetUnitsSelectable|Set]] \\ |
| |
</WRAP> | </WRAP> |
| |
<WRAP column> | <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]] \\ | ==== Unit ==== |
| <wrap note>//<sub>Note</sub>//[(core>Rift Lab, ERN Portal, and Factory are in [[4RPL:start#core_units|Core Units]])]</wrap> \\ |
| AllLegalUnitCells [[4rpl:commands:SetAllLegalUnitCells|Set]] \\ |
| CellOccupiedCount [[4rpl:commands:GetCellOccupiedCount|Get]] | [[4rpl:commands:SetCellOccupiedCount|Set]] \\ [[4rpl:commands:ClearUnitStun]] \\ |
| [[4rpl:commands:ConstructUnit]] \\ |
| [[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]] \\ |
| 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]] \\ |
| 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]] \\ |
| UnitInCreeper [[4rpl:commands:GetUnitInCreeper|Get]] \\ |
| UnitIgnoreDark [[4rpl:commands:getIgnoreDark|Get]] | [[4rpl:commands:setIgnoreDark|Set]] \\ |
| UnitMiniMapImage [[4rpl:commands:SetUnitMiniMapImage|Set]] \\ |
| UnitMiniMapImageColor [[4rpl:commands:SetUnitMiniMapImageColor|Set]] \\ |
| UnitMiniMapText [[4rpl:commands:SetUnitMiniMapText|Set]] \\ |
| UnitMiniMapTimeToEvent [[4rpl:commands:SetUnitMiniMapTimeToEvent|Set]] \\ |
| UnitMoveCell [[4rpl:commands:GetUnitMoveCell|Get]] | [[4rpl:commands:SetUnitMoveCell|Set]] \\ |
| UnitOrientation [[4rpl:commands:GetUnitOrientation|Get]] | [[4rpl:commands:SetUnitOrientation|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]] | [[4rpl:commands:ClearUnitSpecifiedTarget|Clear]] \\ |
| UnitSpecifiedTargetOccupiesMap [[4rpl:commands:SetUnitSpecifiedTargetOccupiesMap|Set]] \\ |
| UnitSpecifiedTargetPathHeight [[4rpl:commands:SetUnitSpecifiedTargetPathHeight|Set]] \\ UnitSpecifiedTargetPathSourceOffset [[4rpl:commands:SetUnitSpecifiedTargetPathSourceOffset|Set]] \\ UnitSpecifiedTargetShowPath [[4rpl:commands:SetUnitSpecifiedTargetShowPath|Set]] \\ |
| UnitSuppressedMovement [[4rpl:commands:GetUnitSuppressedMovement|Get]] | [[4rpl:commands:SetUnitSuppressedMovement|Set]] \\ |
| UnitType [[4rpl:commands:GetUnitType|Get]] \\ |
| UnitTrueGuid [[4rpl:commands:GetUnitTrueGuid|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]] \\ |
| UnitWantsErn [[4rpl:commands:getUnitWantsERN|Get]] | [[4rpl:commands:setUnitWantsERN|Set]] \\ [[4rpl:commands:UseLegalUnitCells]] \\ |
| WallCharged [[4rpl:commands:SetWallCharged|Set]] \\ |
| |
</WRAP> | </WRAP> |
| |
<WRAP column> | <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]] \\ | ==== 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]] \\ UnitCanMove [[4rpl:commands:GetUnitCanMove|Get]] | [[4rpl:commands:SetUnitCanMove|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]] \\ |
| UnitGrowsMesh [[4rpl:commands:GetUnitGrowsMesh|Get]] | [[4rpl:commands:SetUnitGrowsMesh|Set]] \\ |
| UnitHealRate [[4rpl:commands:GetUnitHealRate|Get]] | [[4rpl:commands:SetUnitHealRate|Set]] \\ |
| UnitHealth [[4rpl:commands:GetUnitHealth|Get]] | |
| [[4rpl:commands:SetUnitHealth|Set]] \\ UnitLOSEnabled [[4rpl:commands:getunitlosenabled|Get]] | |
| [[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]] \\ |
| UnitModRanges [[4rpl:commands:SetUnitModRanges|Set]] \\ |
| UnitRange [[4rpl:commands:GetUnitRange|Get]] | [[4rpl:commands:SetUnitRange|Set]] \\ UnitRangeWithMods [[4rpl:commands:GetUnitRangeWithMods|Get]] \\ UnitRequestPackets [[4rpl:commands:GetUnitRequestPackets|Get]] | [[4rpl:commands:SetUnitRequestPackets|Set]] \\ |
| UnitSpecialTarget [[4rpl:commands:GetUnitSpecialTarget|Get]] | [[4rpl:commands:SetUnitSpecialTarget|Set]] \\ |
| UnitStunCount [[4rpl:commands:GetUnitStunCount|Get]] | [[4rpl:commands:SetUnitStunCount|Set]] \\ 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> |
| |
---- | ---- |
| |
<WRAP column> | <WRAP column> |
==== Editing==== | |
[[4rpl:commands:EditAddUndo]] \\ [[4rpl:commands:EditRestoreUndo]] \\ [[4rpl:commands:EditRedo]] \\ [[4rpl:commands:ShowTerrainRangeIndicator]] \\ [[4rpl:commands:DestroyTerrainRangeIndicator]] \\ | ==== 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> |
| |
<WRAP column> | <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]] \\ | ==== 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> |
| |
<WRAP column> | <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]] \\ | ==== IO ==== |
| |
| CameraMode [[4rpl:commands:GetCameraMode|Get]] \\ |
| CameraPosition [[4rpl:commands:GetCameraPosition|Get]] | [[4rpl:commands:SetCameraPosition|Set]] \\ |
| 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]] \\ |
| 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]] \\ |
| RPLCamCursorLock [[4rpl:commands:SetRPLCamCursorLock|Set]] \\ |
| RPLCamForward [[4rpl:commands:GetRPLCamForward|Get]] | [[4rpl:commands:SetRPLCamForward|Set]] \\ |
| RPLCamRight [[4rpl:commands:GetRPLCamRight|Get]] | [[4rpl:commands:SetRPLCamRight|Set]] \\ |
| RPLCamUp [[4rpl:commands:GetRPLCamUp|Get]] | [[4rpl:commands:SetRPLCamUp|Set]] \\ |
| [[4rpl:commands:RPLCamCopyPosAndRot]] \\ |
| RPLCamPosition [[4rpl:commands:GetRPLCamPosition|Get]] | [[4rpl:commands:SetRPLCamPosition|Set]] \\ |
| RPLCamRotation [[4rpl:commands:GetRPLCamRotation|Get]] | [[4rpl:commands:SetRPLCamRotation|Set]] \\ [[4rpl:commands:RPLCamTween]] \\ |
| [[4rpl:commands:RPLCamTweenLookAt]]\\ |
| |
</WRAP> | </WRAP> |
| |
<WRAP column> | <WRAP column> |
==== Sound==== | |
[[4rpl:commands:PlaySoundAtPosition]] \\ [[4rpl:commands:PlaySound]] \\ [[4rpl:commands:PlaySoundLoop]] \\ [[4rpl:commands:StopSoundLoop]] \\ | ==== 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]] \\ |
| ThemeOverlayApplyToCliffs [[4rpl:commands:SetThemeOverlayApplyToCliffs|Set]] \\ |
| ThemeOverlay [[4rpl:commands:ClearThemeOverlay|Clear]] | [[4rpl:commands:CreateThemeOverlay|Create]] | |
| [[4rpl:commands:DestroyThemeOverlay|Destroy]]\\ |
| ThemeOverlayColor [[4rpl:commands:SetThemeOverlayColor|Set]] \\ |
| ThemeOverlayEnabled [[4rpl:commands:SetThemeOverlayEnabled|Set]] \\ |
| ThemeOverlayOffset [[4rpl:commands:SetThemeOverlayOffset|Set]] \\ |
| ThemeOverlayRectPixels [[4rpl:commands:SetThemeOverlayRectPixels|Set]] \\ |
| ThemeOverlayPixels [[4rpl:commands:SetThemeOverlayPixels|Set]] \\ |
| ThemeOverlayPointFilter [[4rpl:commands:SetThemeOverlayPointFilter|Set]] \\ |
| ThemeOverlayScale [[4rpl:commands:SetThemeOverlayScale|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> |
| |
| ---- |
| |
<WRAP column> | <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]] \\ | ==== Strings ==== |
| |
| [[4rpl:commands:Concat]] \\ [[4rpl:commands:Concat3]] \\ [[4rpl:commands:Concat4]] \\ [[4rpl:commands:EndsWith]] \\ [[4rpl:commands:RemoveWhiteSpace]] \\ [[4rpl:commands:Split]] \\ [[4rpl:commands:StartsWith]] \\ [[4rpl:commands:StringLength]] \\ [[4rpl:commands:StringReplace]] \\ [[4rpl:commands:StringToList]] \\ [[4rpl:commands:Substring]] \\ [[4rpl:commands:ToLower]] \\ [[4rpl:commands:ToUpper]] \\ |
| |
</WRAP> | </WRAP> |
| |
<WRAP column> | <WRAP column> |
==== Data==== | |
[[4rpl:commands:GetType]] \\ [[4rpl:commands:IsNull]] \\ [[4rpl:commands:NULL]] \\ | ==== Sound ==== |
| |
| [[4rpl:commands:PlaySoundAtPosition]] \\ [[4rpl:commands:PlaySoundLoop]] \\ [[4rpl:commands:PlaySound]] \\ [[4rpl:commands:StopSoundLoop]] \\ |
| |
</WRAP> | </WRAP> |
| |
<WRAP column> | <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]] \\ | ==== 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> |
---- | |
<WRAP column> | <WRAP column> |
==== Eggs/Orbs==== | |
[[4rpl:commands:CreateOrb]] \\ [[4rpl:commands:CreateEgg]] \\ [[4rpl:commands:SetEggOrbData]] \\ | ==== Eggs/Orbs ==== |
| <sup>See [[4rpl:commands:Egg\Orb Coding Details]]</sup> \\ |
| [[4rpl:commands:CreateEgg]] \\ |
| [[4rpl:commands:CreateOrb]] \\ |
| EggOrbData [[4rpl:commands:SetEggOrbData|Set ]]\\ |
| |
</WRAP> | </WRAP> |
| |
<WRAP column> | <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]] \\ | ==== 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> |
| |
| ---- |
| |
<WRAP column> | <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]] \\ | ==== Creeper ==== |
| |
| [[4rpl:commands:AddCreeperWithCap]] \\ |
| [[4rpl:commands:AddCreeperWithCapInRange]] \\ |
| [[4rpl:commands:ClipCreeperLine]] \\ |
| [[4rpl:commands:ConvertACToCreeper]] \\ |
| [[4rpl:commands:ConvertCreeperToAC]] \\ |
| Creeper [[4rpl:commands:addcreeper|Add]] | [[4rpl:commands:GetCreeper|Get]] | [[4rpl:commands:SetCreeper|Set]] \\ |
| CreeperCoverage [[4rpl:commands:GetCreeperCoverage|Get]] \\ |
| CreeperCutoff [[4rpl:commands:GetCreeperCutoff|Get]] | [[4rpl:commands:SetCreeperCutoff|Set]] \\ CreeperInRange [[4rpl:commands:AddCreeperInRange|Add]] | [[4rpl:commands:GetCreeperInRange|Get]] | [[4rpl:commands:SetCreeperInRange|Set]] \\ |
| CreeperWithDamageMap [[4rpl:commands:GetCreeperWithDamageMap|Get]] \\ |
| Crimson [[4rpl:commands:GetCrimson|Get]] | [[4rpl:commands:SetCrimson|Set]] \\ |
| [[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> |
| |
<WRAP column> | <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]] \\ | ==== Mission ==== |
| |
| [[4rpl:commands:AcquireMissionObjective]] \\ |
| CustomObjectiveText [[4rpl:commands:SetCustomObjectiveText|Set]] \\ |
| [[4rpl:commands:EndMission]] \\ |
| [[4rpl:commands:IsMissionComplete]] \\ |
| MissionObjectiveEnabled [[4rpl:commands:GetMissionObjectiveEnabled|Get]] | [[4rpl:commands:SetMissionObjectiveEnabled|Set]] \\ |
| MissionObjectiveRequired [[4rpl:commands:GetMissionObjectiveRequired|Get]] | [[4rpl:commands:SetMissionObjectiveRequired|Set]] \\ MissionObjectiveState [[4rpl:commands:GetMissionObjectiveState|Get]] \\ |
| MissionScanComplete [[4rpl:commands:GetMissionScanComplete|Get]] \\ |
| |
</WRAP> | </WRAP> |
| |
<WRAP column> | <WRAP column> |
| |
==== Decals ==== | ==== 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]] \\ | |
| 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> |
| |
| <WRAP column> |
| |
| ==== Stack ==== |
| |
| [[4rpl:commands:dup]] \\ [[4rpl:commands:dup2]] \\ [[4rpl:commands:swap]] \\ [[4rpl:commands:pop]] \\ [[4rpl:commands:ClearStack]] \\ [[4rpl:commands:StackSize]] \\ |
| |
</WRAP> | </WRAP> |
===== Full Index ===== | |
[[4rpl:index| Full Index]] | ---- |
| <WRAP column> |
| ==== MVerse ==== |
| |
| MVerseCreatesUnitGhost [[4rpl:commands:SetMVerseCreatesUnitGhost|Set]] \\ |
| MVersePlayers [[4rpl:commands:GetMVersePlayers|Get]] \\ |
| MVersePlayerNum [[4rpl:commands:GetMVersePlayerNum|Get]] \\ |
| MVerseSendCreeperChanges [[4rpl:commands:SetMVerseSendCreeperChanges|Set]] \\ |
| [[4rpl:commands:SendMVerseMsg]] \\ |
| |
| </WRAP> |
| |
| <WRAP column> |
| ==== Effects ==== |
| [[4rpl:commands:CreateEffect]] \\ |
| [[4rpl:commands:CreateMist]] \\ |
| [[4rpl:commands:CreateMissile]] \\ |
| [[4rpl:commands:CreateSniperShot]] \\ |
| |
| </WRAP> |
| |
| <WRAP column> |
| ==== Core Units ==== |
| ERNPortal [[4rpl:commands:GetERNPortal|Get]] \\ |
| ERNPortalEfficiency [[4rpl:commands:GetERNPortalEfficiency|Get]] \\ |
| Factory [[4rpl:commands:GetFactory|Get]] \\ |
| FactoryWares [[4rpl:commands:GetFactoryWares|Get]] | [[4rpl:commands:SetFactoryWares|Set]] \\ |
| RiftLab [[4rpl:commands:GetRiftLab|Get]]\\ |
| |
| </WRAP> |
| |
| <WRAP column> |
| ==== Messaging ==== |
| |
| [[4rpl:commands:DeregisterForMSG]] \\ |
| [[4rpl:commands:DeregisterScript]] \\ |
| MSGButton [[4rpl:commands:SetMSGButton|Set]] \\ |
| [[4rpl:commands:RegisterForMSG]]\\ |
| [[4rpl:commands:RegisterScript]] \\ |
| RegisteredScriptVar [[4rpl:commands:GetRegisteredScriptVar|Get]] | [[4rpl:commands:SetRegisteredScriptVar|Set]] \\ |
| [[4rpl:commands:SendMsg]] \\ |
| |
| |
| |
| </WRAP> |
| |
| </WRAP> |
| ---- |
| |
| <WRAP column> |
| ==== Meta ==== |
| |
| |
| [[4rpl:commands:DeleteMCSEntry]] \\ |
| MCSEntries [[4rpl:commands:GetMCSEntries|Get]] \\ |
| |
| </WRAP> |
| |
| |
| |