~~NOTOC~~ <-[[pf:particle_fleet|PF Home]]<- [[prpl:start|PRPL Home]]\\ ====== PRPL Reference ====== This reference is divided into two major sections with many subsections in each of those. The purpose of this reference is to provide an index to all commands in the language, and define the input required and the output produced by each command. In many instances a short example of the use of the command is provided. The Language API (Application Programming Interface) is related and common in many languages - these are used to control program execution and are part of the core language. The rest of PRPL is contained in the Platform API and is PF-specific. These govern the behavior of objects in the PF game. To get started, review the [[crpl:overview|CRPL overview]] and the [[crpl:crpltutorial|programming tutorial]]. If you seek to write neater code, read the [[crpl:styleguide|style guide]]. If you are familiar with CRPL, and wish to learn the new language features, the [[.:upgradenotes|upgrade notes]] are for you. There is also an [[alphabetic list of commands]] in the language. In addition, you can [[examine map resources]] from other maps and missions from the game. Please note that much of this documentation was generated rather than written. Any help in editing is appreciated. Editors help: Pages follow this [[template]]. Utility: [[.:unittypelist|List of unit types]] Note on IDs: UID is generally used here to refer to a unit. SID is for ships, PID for particles. However, from CRPL, UID may be used to refer to any of these. ==== Table of Contents ==== === Language API === [[.:prplreference#vars_and_functions|Vars and Functions]]\\ [[.:prplreference#comparators|Comparators]]\\ [[.:prplreference#built_in_functions|Built in Functions]]\\ [[.:prplreference#logical_operators|Logical Operators]]\\ [[.:prplreference#program_flow_control|Program Flow Control]]\\ [[.:prplreference#math|Math]]\\ [[.:prplreference#stack_manipulation|Stack Manipulation]]\\ [[.:prplreference#debugging|Debugging]]\\ === Platform API === [[.:prplreference#timers|Timers]]\\ [[.:prplreference#strings|Strings]]\\ [[.:prplreference#input|Input]]\\ [[.:prplreference#lists|Lists]]\\ [[.:prplreference#scripts|Scripts]]\\ [[.:prplreference#ships|Ships]]\\ [[.:prplreference#units|Units]]\\ [[.:prplreference#particles|Particles]]\\ [[.:prplreference#plasma|Plasma]]\\ [[.:prplreference#map_mission|Map/Mission]]\\ [[.:prplreference#screen|Screen]]\\ [[.:prplreference#everything_else_2|Everything Else 2]]\\ ==== Language API ==== === Vars and Functions === ^ Vars and Functions ^^^ | [[.:define|$VARNAME:DEF_VAL]]| [[.:ClearLocals|ClearLocals]]| [[.:ClearGlobals|ClearGlobals]] | | [[.:read|<-VARNAME]] ([[.:readglobal|<-*]]) | [[.:write|->VARNAME ]] ([[.:writeglobal|->*]]) | [[.:exists|-?VARNAME]] ([[.:existsglobal|-?*]]) | | [[.:delete|--VARNAME]] ([[.:deleteglobal|--*]]) | [[.:refread|<-! ]] ([[.:refreadglobal|<-!*]]) | [[.:refwrite|->! ]] ([[.:refwriteglobal|->!*]]) | | [[.:refexists|-?! ]] ([[.:refexistsglobal|-?!*]]) | [[.:refdelete|--!]] ([[.:refdeleteglobal|--!*]]) | [[.:call|@FUNC_NAME]]| | [[.:func|:FUNC_NAME]] | [[.:comment|#]] | | === Comparators === ^ Comparators ^^^ | [[.:gt |gt ]]| [[.:gte |gte ]]| [[.:lt |lt ]] | | [[.:lte |lte ]]| [[.:eq |eq ]]| [[.:neq |neq ]] | | [[.:eq0 |eq0 ]]| [[.:neq0 |neq0 ]]| [[.:true|true]] | | [[.:false|false]] | === Built in Functions === ^ Built in Functions ^^^ | [[.:func|:Destroyed]]| [[.:func|:Awake]]| [[.:func|:GameLoaded]] | === Logical Operators === ^ Logical Operators ^^^ | [[.:and |and ]]| [[.:or |or ]]| [[.:xor |xor ]] | | [[.:not |not ]] | === Program Flow Control === ^ Program Flow Control ^^^ | [[.:once|once]]| [[.:endonce|endonce]]| [[.:if |if ]] | | [[.:else|else]]| [[.:endif|endif]]| [[.:do|do]] | | [[.:loop|loop]]| [[.:I|I]]| [[.:J|J]] | | [[.:K|K]]| [[.:while|while]]| [[.:repeat |repeat ]] | | [[.:endwhile|endwhile]]| [[.:break|break]]| [[.:return|return]] | | [[.:Delay |Delay ]] | === Math === ^ Math ^^^ | [[.:abs |abs ]]| [[.:acos|acos]]| [[.:add |add ]] | | [[.:approximately |approximately ]]| [[.:asfloat |asfloat ]]| [[.:asin|asin]] | | [[.:asint |asint ]]| [[.:atan|atan]]| [[.:atan2 |atan2 ]] | | [[.:avg2 |avg2 ]]| [[.:ceil |ceil ]]| [[.:cos|cos]] | | [[.:Deg2Rad|Deg2Rad]]| [[.:div |div ]]| [[.:E|E]] | | [[.:floor |floor ]]| [[.:HALFPI|HALFPI]]| [[.:ln |ln ]] | | [[.:log |log ]]| [[.:log10 |log10 ]]| [[.:max |max ]] | | [[.:min |min ]]| [[.:mod |mod ]]| [[.:mul |mul ]] | | [[.:neg |neg ]]| [[.:PI|PI]]| [[.:pow |pow ]] | | [[.:QUARTERPI|QUARTERPI]]| [[.:Rad2Deg|Rad2Deg]]| [[.:round |round ]] | | [[.:ShortestAngle |ShortestAngle ]]| [[.:SignalGenerator|SignalGenerator]]| [[.:sin |sin ]] | | [[.:sqrt |sqrt ]]| [[.:sub |sub ]]| [[.:TAU|TAU]] | | [[.:tan|tan]] | | [[.:TWOPI|TWOPI]] | === Stack Manipulation === ^ Stack Manipulation ^^^ | [[.:swap |swap ]]| [[.:dup |dup ]]| [[.:dup2 |dup2 ]] | | [[.:pop |pop ]]| [[.:ClearStack|ClearStack]]| [[.:StackSize|StackSize]] | === Debugging === ^ Debugging ^^^ | [[.:Trace|Trace]] | [[.:Print|Print]] | [[.:TraceAll|TraceAll]] | | [[.:Trace2|Trace2]] | [[.:Print2|Print2]] | [[.:TraceAllSp|TraceAllSp]] | | [[.:Trace3|Trace3]] | [[.:Print3|Print3]] | [[.:TraceStack|TraceStack]] | | [[.:Trace4|Trace4]] | [[.:Print4|Print4]] | [[.:PrintAll|PrintAll]] | | [[.:Trace5|Trace5]] | [[.:Print5|Print5]] | [[.:PrintAllSp|PrintAllSp]] | | [[.:ClearTraceLog|ClearTraceLog]] | [[.:Debug|Debug]] | [[.:PrintStack|PrintStack]] | ==== Platform API ==== === Timers === ^ Timers ^^^ | [[.:GetTimer0|GetTimer0]] | [[.:GetTimer1|GetTimer1]] | [[.:GetTimer2|GetTimer2]] | | [[.:SetTimer0|SetTimer0]] | [[.:SetTimer1|SetTimer1]] | [[.:SetTimer2|SetTimer2]] | | [[.:GetTimer3|GetTimer3]] | | | | [[.:SetTimer3|SetTimer3]] | | | === Strings === ^ Strings ^^^ | [[.:Concat |Concat ]]| [[.:Substring |Substring ]]| [[.:StartsWith |StartsWith ]] | | [[.:EndsWith |EndsWith ]]| [[.:Split |Split ]]| [[.:StringToList |StringToList ]] | | [[.:ToUpper |ToUpper ]]| [[.:ToLower |ToLower ]]| [[.:StringLength |StringLength ]] | | [[.:StringReplace |StringReplace ]]| [[.:CR|CR]]| [[.:LF|LF]] | | [[.:DoubleQuote|DoubleQuote]] | | | === Input === ^ Input ^^^ | [[.:GetKey|GetKey]] | [[.:GetKeyDown|GetKeyDown]] | [[.:GetKeyUp|GetKeyUp]] | | [[.:GetMouseButton|GetMouseButton]] | [[.:GetMouseButtonDown|GetMouseButtonDown]] | [[.:GetMouseButtonUp|GetMouseButtonUp]] | | [[.:GetMouseScreenPosition|GetMouseScreenPosition]] | [[.:GetMouseScreenPixelPosition|GetMouseScreenPixelPosition]] | | | [[.:GetMouseCell|GetMouseCell]] | [[.:GetMousePosition|GetMousePosition]] | | === Lists === ^ Lists ^^^ | [[.:CreateList|CreateList]]| [[.:CreateListStartingSize |CreateListStartingSize ]]| [[.:GetListCount |GetListCount ]] | | [[.:GetListElement |GetListElement ]]| [[.:SetListElement |SetListElement ]]| [[.:InsertListElement |InsertListElement ]] | | [[.:AppendToList |AppendToList ]]| [[.:PrependToList |PrependToList ]]| [[.:AppendStackToList |AppendStackToList ]] | | [[.:PrependStackToList |PrependStackToList ]]| [[.:CopyList |CopyList ]]| [[.:DeepCopyList |DeepCopyList ]] | | [[.:SetListElementRpn|SetListElementRpn]] | [[.:RemoveListElement|RemoveListElement]] | | === Scripts === ^ Scripts ^^^ | [[.:NotPersist|NotPersist]] | [[.:InvocationCount|InvocationCount]] | [[.:GetType|GetType]] | | [[.:CurrentCoords|CurrentCoords]]| [[.:CurrentX|CurrentX]]| [[.:CurrentY|CurrentY]] | | [[.:SetCurrentCoords|SetCurrentCoords]] | [[.:SetCurrentX|SetCurrentX]]| [[.:SetCurrentY|SetCurrentY]] | | [[.:operatewhilepaused|operatewhilepaused]] | [[.:self|Self]] | | === Ships === ^ Ships ^^^ | [[.:MoveShip |MoveShip ]]| [[.:RotateShipToCell |RotateShipToCell ]]| [[.:RotateShipToPixel |RotateShipToPixel ]] | | [[.:RotateShip |RotateShip ]]| [[.:RotateShipDegrees |RotateShipDegrees ]]| [[.:GetShipHullSection |GetShipHullSection ]] | | [[.:GetShipHullSectionBuilt |GetShipHullSectionBuilt ]]| [[.:DeleteShipFromSlot |DeleteShipFromSlot ]]| [[.:GetShipFromSlot |GetShipFromSlot ]] | | [[.:GetSlotFromShip |GetSlotFromShip ]]| [[.:GetShipNameFromSlot |GetShipNameFromSlot ]]| [[.:GetShipSlotCount |GetShipSlotCount ]] | | [[.:AddStockShipToInventory |AddStockShipToInventory ]]| [[.:GetShipThrustMultiplier|GetShipThrustMultiplier]] | | [[.:AddCustomShipToInventory |AddCustomShipToInventory ]]| [[.:SetShipThrustMultiplier|SetShipThrustMultiplier]] | === Units === ^ Units ^^^ | [[.:createunit|CreateUnit]] | [[.:createemergent|CreateEmergent]] | | | [[.:SetUnitCurrentCoords|SetUnitCurrentCoords]] | [[.:SetUnitCurrentX|SetUnitCurrentX]] | [[.:SetUnitCurrentY|SetUnitCurrentY]] | | [[.:GetUnitTransformPosition|GetUnitTransformPosition]] | [[.:getallunitsinrange|GetAllUnitsInRange]] | [[.:setunitselectable|SetUnitSelectable]] | === Image === ^ Image ^^^ | [[.:setimage|SetImage]] | [[.:removeimages|RemoveImages]] | [[.:setimageposition|SetImagePosition]] | | [[.:setimagepositionx|SetImagePositionX]] | [[.:setimagepositiony|SetImagePositionY]] | [[.:setimagepositionz|SetImagePositionZ]] | | [[.:setimagelayer|SetImageLayer]] | [[.:setimageorder|SetImageOrder]] | [[.:setimagerotation|SetImageRotation]] | | [[.:setimagescale|SetImageScale]] | [[.:setimagescalex|SetImageScaleX]] | [[.:setimagescaley|SetImageScaleY]] | | [[.:setimagecolor|SetImageColor]] | [[.:getimagecolor|GetImageColor]] | | |[[.:getimageposition|GetImagePosition]]|[[.:getimagepositionx|GetImagePositionX]]| [[.:getimagepositiony|GetImagePositionY]] | |[[.:getimagepositionz|GetImagePositionZ]] | [[.:getimagelayer|GetImageLayer]] | [[.:getimageorder|GetImageOrder]]| |[[.:getimagerotation|GetImageRotation]] | [[.:getimagescale|GetImageScale]] | [[.:getimagescalex|GetImageScaleX]]| |[[.:getimagescaley|GetImageScaleY]]| === Emitters === ^ Emitters ^^^ | [[.:setemitterparticletype|SetEmitterParticleType]] | [[.:setemitterproductioninterval|SetEmitterProductionInterval]] | [[.:setemittermaxparticles|SetEmitterMaxParticles]] | | [[.:setemittermaxtime|SetEmitterMaxTime]] | [[.:setemittermaxdistance|SetEmitterMaxDistance]] | [[.:setemittermaxparticlespeed|SetEmitterMaxParticleSpeed]] | | [[.:setemitterparticlehealth|SetEmitterParticleHealth]] |[[.:setemittertargetprobability|SetEmitterTargetProbability]] |[[.:setemitteremittertargetprobability|SetEmitterEmitterTargetProbability]] | | [[.:setemitterrecallrange|SetEmitterRecallRange]] | [[.:setemitterdestroyatedge|SetEmitterDestroyAtEdge]] |[[.:setemitterenemypattern|SeteEmitterEnemyPattern]] | | [[.:setemitterbonddistance|SetEmitterBondDistance]] | [[.:setemitterbondstiffness|SetEmitterBondStiffness]] |[[.:setemitterminchainlength|SetEmitterMinChainLength]] | | [[.:setemittermaxchainlength|SetEmitterMaxChainLength]] | [[.:setemittershapesize|SetEmitterShapeSize]] |[[.:getemitterparticletype|GetEmitterParticleType]] | | [[.:getemitterproductioninterval|GetEmitterProductionInterval]] |[[.:getemittermaxparticles|GetEmitterMaxParticles]] | [[.:getemittermaxtime|GetEmitterMaxTime]] | | [[.:getemittermaxdistance|GetEmitterMaxDistance]] | [[.:getemittermaxparticlespeed|GetEmitterMaxParticleSpeed]] |[[.:getemitterparticlehealth|GetEmitterParticleHealth]] | | [[.:getemittertargetprobability|GetEmitterTargetProbability]] |[[.:getemitteremittertargetprobability|GetEmitterEmitterTargetProbability]] |[[.:getemitterrecallrange|GetEmitterRecallRange]] | | [[.:getemitterdestroyatedge|GetEmitterDestroyAtEdge]] | [[.:getemitterenemypattern|GetEmitterEnemyPattern]] |[[.:getemitterbonddistance|GetEmitterBondDistance]] | | [[.:getemitterbondstiffness|GetEmitterBondStiffness]] | [[.:getemitterminchainlength|GetEmitterMinChainLength]] |[[.:getemittermaxchainlength|GetEmitterMaxChainLength]] | | [[.:getemittershapesize|GetEmitterShapeSize]] | === Particles === ^ Particles ^^^ | [[.:createparticle|CreateParticle]] | [[.:destroyparticle|DestroyParticle]] | [[.:damageparticle|Damageparticle]] | | [[.:particleexists|ParticleExists]] | [[.:getparticlesinrange|GetParticlesInRange]] | [[.:getparticlesinradius|GetParticlesInRadius]] | | [[.:getparticlecountinradius|GetParticleCountInRadius]] | [[.:teleportparticle|TeleportParticle]] | [[.:getparticlehasteleported|GetParticleHasTeleported]] | | [[.:getallconnectedparticles|GetAllConnectedParticles]] | [[.:getallconnectedparticlecount|GetAllConnectedParticleCount]] | | | [[.:isparticle|isParticle]] | [[.:ishull|isHull]] | [[.:isemergent|isEmergent]] | | [[.:isomni|isOmni]] | | | | [[.:createbond|CreateBond]] | [[.:destroybond|DestroyBond]] | [[.:bondexists|BondExists]] | | [[.:getallconnectedbonds|GetAllConnectedBonds]] | | | === Plasma === ^ Plasma ^^^ | [[.:GetBluePlasmaDecayMax |GetBluePlasmaDecayMax ]]| [[.:GetRedPlasmaDecayMax |GetRedPlasmaDecayMax ]]| [[.:SetBluePlasmaDecayMax |SetBluePlasmaDecayMax ]] | | [[.:SetRedPlasmaDecayMax |SetRedPlasmaDecayMax ]] | [[.:GetPlasma |GetPlasma ]] | [[.:SetPlasma |SetPlasma ]] | | [[.:SetPlasmaBulk |SetPlasmaBulk ]] | [[.:GetPlasmaDecay |GetPlasmaDecay ]]| | === Struc === ^ Struc ^^^ |[[.:growstruc|growstruc]] | [[.:setstruc|setstruc]] | [[.:setstrucbulk|setstrucbulk]] | | [[.:setunitgrowstruc|setunitgrowstruc]] | [[.:getstruc|getstruc]] | [[.:getstrucbuilt|getstrucbuilt]] | | [[.:getunitgrowstruc|getunitgrowstruc]] | [[.:const_growstruc|const_growstruc]] | | === Map/Mission === ^ Map/Mission ^^^ | [[.:MapWidth|MapWidth]]| [[.:MapHeight|MapHeight]]| [[.:WinMission|WinMission]] | | [[.:FailMission|FailMission]] | [[.:SetFailOnHQLoss|SetFailOnHQLoss]] | [[.:GetFailOnHQLoss|GetFailOnHQLoss]] | | [[.:MapCellWidth]]| [[.:MapCellHeight]]| [[.:ResetGameTime|ResetGameTime]] | | [[.:SetGameTime|SetGameTime]] | [[.:SetGameTimeFrames|SetGameTimeFrames]] | [[.:GetGameTimeFrames|GetGameTimeFrames]] | | [[.:PauseGame|PauseGame]] | [[.:UnpauseGame|UnpauseGame]] | [[.:IsPaused|IsPaused]] | | [[.:iseditmode|IsEditMode]] | | | === Screen === ^ Screen ^^^ | [[.:screenwidth|screenwidth]]| [[.:screenheight|screenheight]] | [[.:setscreenmode|setscreenmode]] | | [[.:setscreencoords|setscreencoords]]| [[.:setscreencoordx|setscreencoordx]]| [[.:setscreencoordy|setscreencoordy]] | | [[.:setscreenpixelcoords|setscreenpixelcoords]]| [[.:setscreenpixelcoordx|setscreenpixelcoordx]]| [[.:setscreenpixelcoordy|setscreenpixelcoordy]] | === Everything Else 2 === ^ Everything Else 2 ^^^ | [[.:usercanceled|usercanceled]]| [[.:getupdatecount|getupdatecount]] | | [[.:randint|randint]]| [[.:randfloat|randfloat]]| [[.:randcoords|randcoords]] | | [[.:randcoordsinrange|randcoordsinrange]]| [[.:randxcoord|randxcoord]]| [[.:randycoord|randycoord]] | | [[.:currentpixelcoords|currentpixelcoords]]| | | | [[.:getbuildslotscreencoords|getbuildslotscreencoords]]| [[.:getcontrolpanelbuttonscreencoords|getcontrolpanelbuttonscreencoords]]| [[.:gettechpanelvisible|gettechpanelvisible]] | | [[.:settechpanelvisible|settechpanelvisible]]| [[.:celltopixel|celltopixel]]| [[.:pixeltocell|pixeltocell]] | | [[.:createeffect|createeffect]]| [[.:destroyeffect|destroyeffect]]| | | [[.:getallshipsinrange|getallshipsinrange]]| [[.:getnearestshipinrange|getnearestshipinrange]]| [[.:getcoreswithvar|getcoreswithvar]] | | [[.:addscripttounit|addscripttounit]]| [[.:setscriptvar|setscriptvar]]| [[.:getscriptvar|getscriptvar]] | | [[.:self|self]]| [[.:getshipattribute|getshipattribute]]| [[.:setshipattribute|setshipattribute]] | | [[.:getattribute|getattribute]]| [[.:setattribute|setattribute]]| [[.:getunittype|getunittype]] | | | [[.:sethqjumptime|sethqjumptime]]| [[.:setshowspecialending|setshowspecialending]] | | [[.:playsound|playsound]]| [[.:showconversation|showconversation]]| [[.:showconversationnopause|showconversationnopause]] | | [[.:showconversationautomode|showconversationautomode]]| [[.:closeconversation|closeconversation]]| [[.:addconversationmessage|addconversationmessage]] | | [[.:clearconversation|clearconversation]]| [[.:destroyconversation|destroyconversation]]| [[.:conversationshowing|conversationshowing]] | | [[.:specificconversationshowing|specificconversationshowing]]| [[.:settext|settext]]| [[.:settextcolor|settextcolor]] | | [[.:settextsize|settextsize]]| [[.:settextx|settextx]]| [[.:settexty|settexty]] | | [[.:settextrotation|settextrotation]]| [[.:settextorder|settextorder]]| [[.:showmessage|showmessage]] | | [[.:showmessagedismissible|showmessagedismissible]]| [[.:wasmessagedismissed|wasmessagedismissed]]| [[.:createindicatorarrow|createindicatorarrow]] | | [[.:destroyindicatorarrow|destroyindicatorarrow]]| [[.:setindicatorarrowposition|setindicatorarrowposition]]| [[.:setindicatorarrowrotation|setindicatorarrowrotation]] | | [[.:setindicatorarrowcolor|setindicatorarrowcolor]]| [[.:distance|distance]]| [[.:iseditmode|iseditmode]] | | [[.:func|func]]| [[.:call|call]]| [[.:const_lathetargets|const_lathetargets]] | | [[.:const_createenergysourcewhendestroyed|const_createenergysourcewhendestroyed]]| [[.:const_createampgemwhendestroyed|const_createampgemwhendestroyed]]| [[.:const_isenemy|const_isenemy]] | | [[.:const_createfootprint|const_createfootprint]]| [[.:const_missiongoal|const_missiongoal]] | | [[.:const_takemapspace|const_takemapspace]]| [[.:const_isbuilding|const_isbuilding]]| [[.:const_isdestroyed|const_isdestroyed]] | | [[.:const_ship_isenemy|const_ship_isenemy]]| [[.:const_ship_hullsize|const_ship_hullsize]]| [[.:const_ship_hullbuilt|const_ship_hullbuilt]] | | [[.:const_ship_cmcost|const_ship_cmcost]]| [[.:const_ship_cmbuiltamt|const_ship_cmbuiltamt]]| [[.:const_ship_isconnectedtoenergymine|const_ship_isconnectedtoenergymine]] | | [[.:const_coordx|const_coordx]]| [[.:const_coordy|const_coordy]]| [[.:const_pixelcoordx|const_pixelcoordx]] | | [[.:const_pixelcoordy|const_pixelcoordy]]| [[.:const_receivespackets|const_receivespackets]]| [[.:signal_none|signal_none]] | | [[.:signal_sine|signal_sine]]| [[.:signal_square|signal_square]]| [[.:signal_triangle|signal_triangle]] | | [[.:signal_sawtooth|signal_sawtooth]]| [[.:signal_random|signal_random]]| [[.:signal_constant|signal_constant]] | | [[.:isunit|isunit]]| [[.:destroyparticle|destroyparticle]]| [[.:destroybond|destroybond]] | | [[.:createunit|createunit]]| [[.:destroyunit|destroyunit]]| [[.:setunitisgoal:/uid|setunitisgoal:/uid]] | | [[.:getunitisgoal|getunitisgoal]]| [[.:unitisdestroyed|unitisdestroyed]]| [[.:initcannonshot|initcannonshot]] | | [[.:initmissile|initmissile]]| [[.:moveship|moveship]]| [[.:rotateshiptocell|rotateshiptocell]] | | [[.:rotateshiptopixel|rotateshiptopixel]]| [[.:rotateship|rotateship]]| [[.:rotateshipdegrees|rotateshipdegrees]] | | [[.:getshiphullsection|getshiphullsection]]| [[.:getshiphullsectionbuilt|getshiphullsectionbuilt]]| [[.:deleteshipfromslot:ance).|deleteshipfromslot:ance).]] | | [[.:getshipfromslot|getshipfromslot]]| [[.:getslotfromship|getslotfromship]]| [[.:getshipnamefromslot|getshipnamefromslot]] | | [[.:getshipslotcount|getshipslotcount]]| [[.:addstockshiptoinventory|addstockshiptoinventory]]| [[.:addcustomshiptoinventory|addcustomshiptoinventory]] | | [[.:addgameevent|addgameevent]]| [[.:addgameeventatcell|addgameeventatcell]]| [[.:addgameeventatpixel|addgameeventatpixel]] | | [[.:setgameeventfadetime|setgameeventfadetime]]| [[.:setgameeventmessage|setgameeventmessage]]| [[.:setgameeventtype|setgameeventtype]] | | [[.:getlandcount|getlandcount]]| [[.:getenemymirecount|getenemymirecount]]| [[.:getmirecount|getmirecount]] | | [[.:getenergysourcecount|getenergysourcecount]]| [[.:getenergysources|getenergysources]]| [[.:getrandomenergysource|getrandomenergysource]] | | [[.:getglobalstoredenergy|getglobalstoredenergy]]| [[.:setglobalstoredenergy|setglobalstoredenergy]]| [[.:gettechavailability|gettechavailability]] | | [[.:settechavailability|settechavailability]]| [[.:getallowshipamp|getallowshipamp]]| [[.:setallowshipamp|setallowshipamp]] | | [[.:sethullbuildratemod|sethullbuildratemod]]| [[.:getampgemcount|getampgemcount]]| [[.:setampgemcount|setampgemcount]] | | [[.:getmaxblueemergent|getmaxblueemergent]]| [[.:getmaxredemergent|getmaxredemergent]]| [[.:setmaxblueemergent|setmaxblueemergent]] | | [[.:setmaxredemergent|setmaxredemergent]]| [[.:getblueemergentrate|getblueemergentrate]]| [[.:getredemergentrate|getredemergentrate]] | | [[.:setblueemergentrate|setblueemergentrate]]| [[.:setredemergentrate|setredemergentrate]]| [[.:setpickuptype|setpickuptype]] | | [[.:setdoppelbehavior|setdoppelbehavior]]| [[.:setdoppelhomecell|setdoppelhomecell]]| [[.:createparticle|createparticle]] | | [[.:particleexists|particleexists]]| [[.:getownedparticlecount|getownedparticlecount]]| [[.:createbond|createbond]] | | [[.:bondexists|bondexists]]| [[.:getparticlesinrange|getparticlesinrange]]| [[.:getparticlesinradius|getparticlesinradius]] | | [[.:getparticlecountinradius|getparticlecountinradius]]| [[.:getparticleposition|getparticleposition]]| [[.:setparticleposition|setparticleposition]] | | [[.:teleportparticle|teleportparticle]]| [[.:getparticlemaxspeed|getparticlemaxspeed]]| [[.:setparticlemaxspeed|setparticlemaxspeed]] | | [[.:getparticlemaxage|getparticlemaxage]]| [[.:setparticlemaxage|setparticlemaxage]]| [[.:getparticlemaxdistance|getparticlemaxdistance]] | | [[.:getparticlehealth|getparticlehealth]]| [[.:setparticlemaxdistance|setparticlemaxdistance]]| [[.:setparticlehealth|setparticlehealth]] | | [[.:getparticlemass|getparticlemass]]| [[.:setparticlemass|setparticlemass]]| [[.:getparticledrag|getparticledrag]] | | [[.:setparticledrag|setparticledrag]]| [[.:setparticleimmediateforce|setparticleimmediateforce]]| [[.:getparticletarget|getparticletarget]] | | [[.:setparticletarget|setparticletarget]]| [[.:getparticletargetattractioninterval|getparticletargetattractioninterval]]| [[.:setparticletargetattractioninterval|setparticletargetattractioninterval]] | | [[.:getparticletargetattractionforce|getparticletargetattractionforce]]| [[.:setparticletargetattractionforce|setparticletargetattractionforce]]| [[.:getparticlesameinteraction|getparticlesameinteraction]] | | [[.:getparticlemotion|getparticlemotion]]| [[.:getparticlehasteleported|getparticlehasteleported]]| [[.:setparticlemotion|setparticlemotion]] | | [[.:setparticlesameinteraction|setparticlesameinteraction]]| [[.:getparticledestroyatedge|getparticledestroyatedge]]| [[.:setparticledestroyatedge|setparticledestroyatedge]] | | [[.:getparticleforceparams|getparticleforceparams]]| [[.:setparticleforceparams|setparticleforceparams]]| [[.:setparticleforcespeedlimit|setparticleforcespeedlimit]] | | [[.:setparticleinteractdelay|setparticleinteractdelay]]| [[.:getparticleinteractdelay|getparticleinteractdelay]]| [[.:setparticleforcedirectionrelativeparticle|setparticleforcedirectionrelativeparticle]] | | [[.:setparticlereturnwhenrecalled|setparticlereturnwhenrecalled]]| [[.:setunitrecallchildparticles|setunitrecallchildparticles]]| [[.:getbondmovementparams|getbondmovementparams]] | | [[.:setbondmovementparams|setbondmovementparams]]| [[.:getbondlength|getbondlength]]| [[.:setbondlength|setbondlength]] | | [[.:getallconnectedparticles|getallconnectedparticles]]| [[.:getallconnectedparticlecount|getallconnectedparticlecount]]| [[.:getallconnectedbonds|getallconnectedbonds]] | | [[.:getnearesttarget|getnearesttarget]]| [[.:damageparticle|damageparticle]]| [[.:isemergent|isemergent]] | | [[.:isparticle|isparticle]]| [[.:clearallfields|clearallfields]]| [[.:setfieldcell|setfieldcell]] | | [[.:ishqpresent|ishqpresent]]| [[.:gethqs|gethqs]]| [[.:getland|getland]] | | [[.:setland|setland]]| [[.:setlandbulk|setlandbulk]]| [[.:getmire|getmire]] | | [[.:setmire|setmire]]| [[.:mireland|mireland]]| | [[.:setenergysourcerate|setenergysourcerate]]| [[.:setenergysourcerange|setenergysourcerange]]| [[.:setenergysourcegrowenemyenergymine|setenergysourcegrowenemyenergymine]] | | [[.:getenergysourcerate|getenergysourcerate]]| [[.:getenergysourcerange|getenergysourcerange]]| [[.:getenergysourcegrowenemyenergymine|getenergysourcegrowenemyenergymine]] | | [[.:getunitlathetargets|getunitlathetargets]]| [[.:setunitlathetargets|setunitlathetargets]]| [[.:getunitcreateenergysourcewhendestroyed|getunitcreateenergysourcewhendestroyed]] | | [[.:setunitcreateenergysourcewhendestroyed|setunitcreateenergysourcewhendestroyed]]| [[.:getunitisenemy|getunitisenemy]]| [[.:setunitisenemy|setunitisenemy]] | | [[.:getunitcreateampgemwhendestroyed|getunitcreateampgemwhendestroyed]] | | [[.:setunitcreateampgemwhendestroyed|setunitcreateampgemwhendestroyed]]| [[.:getunitcreatefootprint|getunitcreatefootprint]]| [[.:setunitcreatefootprint|setunitcreatefootprint]] | | [[.:getunitmissiongoal|getunitmissiongoal]]| [[.:setunitmissiongoal|setunitmissiongoal]]| [[.:getunittakemapspace|getunittakemapspace]] | | [[.:setunittakemapspace|setunittakemapspace]]| [[.:getunitisbuilding|getunitisbuilding]]| [[.:setunitisbuilding|setunitisbuilding]] | | [[.:getunitcoordx|getunitcoordx]]| [[.:setunitcoordx|setunitcoordx]]| [[.:getunitcoordy|getunitcoordy]] | | [[.:setunitcoordy|setunitcoordy]]| [[.:getunitpixelcoordx|getunitpixelcoordx]]| [[.:setunitpixelcoordx|setunitpixelcoordx]] | | [[.:getunitpixelcoordy|getunitpixelcoordy]]| [[.:setunitpixelcoordy|setunitpixelcoordy]]| [[.:getunitreceivespackets|getunitreceivespackets]] | | [[.:setunitreceivespackets|setunitreceivespackets]]| [[.:getunithealth|getunithealth]]| [[.:setunithealth|setunithealth]] | | [[.:getunitmaxhealth|getunitmaxhealth]]| [[.:setunitmaxhealth|setunitmaxhealth]]| [[.:getunitenergy|getunitenergy]] | | [[.:setunitenergy|setunitenergy]]| [[.:getunitmaxenergy|getunitmaxenergy]]| [[.:setunitmaxenergy|setunitmaxenergy]] | | [[.:getunithashealthbar|getunithashealthbar]]| [[.:setunithashealthbar|setunithashealthbar]]| [[.:getunithasenergybar|getunithasenergybar]] | | [[.:setunithasenergybar|setunithasenergybar]]| [[.:getunitenergypackdelay|getunitenergypackdelay]]| [[.:setunitenergypackdelay|setunitenergypackdelay]] | | [[.:getunitparticlesdamage|getunitparticlesdamage]]| [[.:setunitparticlesdamage|setunitparticlesdamage]]| [[.:getunitshiphulldamages|getunitshiphulldamages]] | | [[.:setunitshiphulldamages|setunitshiphulldamages]]| [[.:getunitmiredamages|getunitmiredamages]]| [[.:setunitmiredamages|setunitmiredamages]] | | [[.:getunitmiredamageamt|getunitmiredamageamt]]| [[.:setunitmiredamageamt|setunitmiredamageamt]]| [[.:setunitlathedamageamt|setunitlathedamageamt]] | | [[.:getunitlathedamageamt|getunitlathedamageamt]]| [[.:setunitcoords|setunitcoords]]| [[.:getunitcoords|getunitcoords]] | | [[.:setunitpixelcoords|setunitpixelcoords]]| [[.:getunitpixelcoords|getunitpixelcoords]]| [[.:getunitisdestroyed|getunitisdestroyed]] | | [[.:getshipisdestroyed|getshipisdestroyed]]| [[.:getshiprotation|getshiprotation]]| [[.:setshiprotation|setshiprotation]] | | [[.:getshiprotationdegrees|getshiprotationdegrees]]| [[.:setshiprotationdegrees|setshiprotationdegrees]]| [[.:getshipcoords|getshipcoords]] | | [[.:setshipcoords|setshipcoords]]| [[.:setshipcoordx|setshipcoordx]]| [[.:getshipcoordx|getshipcoordx]] | | [[.:setshipcoordy|setshipcoordy]]| [[.:getshipcoordy|getshipcoordy]]| [[.:getshippixelcoords|getshippixelcoords]] | | [[.:setshippixelcoords|setshippixelcoords]]| [[.:getshippixelcoordx|getshippixelcoordx]]| [[.:setshippixelcoordx|setshippixelcoordx]] | | [[.:getshippixelcoordy|getshippixelcoordy]]| [[.:setshippixelcoordy|setshippixelcoordy]]| [[.:setshipisenemy|setshipisenemy]] | | [[.:getshipisenemy|getshipisenemy]]| [[.:getshipenergy|getshipenergy]]| [[.:setshipenergy|setshipenergy]] | | [[.:getshipenergycap|getshipenergycap]]| [[.:setshipenergycap|setshipenergycap]]| [[.:setshipmodulesammo|setshipmodulesammo]] | | [[.:getshiphullsize|getshiphullsize]]| [[.:getshiphullbuilt|getshiphullbuilt]]| [[.:getshipcmcost|getshipcmcost]] | | [[.:getshipcmbuiltamt|getshipcmbuiltamt]]| [[.:getshipisconnectedtoenergymine|getshipisconnectedtoenergymine]]| [[.:getshiphasamp|getshiphasamp]] | | [[.:getshiphullwidth|getshiphullwidth]]| [[.:getshiphullheight|getshiphullheight]]|