<-
CRPL Language Reference
Alphabetic list of CRPL Commands
A
abortmove
abs
acos
add
addadditionalscore
addconversationmessage
addcreeper
addscripttounit
and
appendstacktolist
appendtolist
approximately
artifactcollected
ascendtoorbit
asfloat
asin
asint
atan
atan2
B
break
C
call
ceil
celltopixel
clearconversation
clearlocals
clearqueuedmoves
clearstack
cleartracelog
closeopeningconversation
comment
concat
conversationshowing
copylist
cos
createeffect
createeffectclipped
createindicatorarrow
createlist
createliststartingsize
createmist
createrunner
createspore
createunit
currentcoords
currentpixelcoords
currentx
currenty
D
damage
damagecreeper
deepcopylist
define
delay
delete
destroy
destroyallenemyunits
destroyindicatorarrow
disabletowerfield
distance
div
do
dropfromorbit
dup
dup2
E
e
elapsedtime
else
enablealternatecontrolmode
enablenormalkeyinput
enablenormalmouse
enablenormalzoomcontrol
enabletowerfield
endif
endonce
endswith
endwhile
eq
eq0
exists
F
failmission
false
fireaoo
floodfillterrain
floor
func
func_awake
func_destroyed
func_gameloaded
func_showmessagedialogcallback
func_usercancelaction
G
getadditionalscore
getallunitsinrange
getcameraposition
getcamerazoom
getcelloccupiedcount
getcommandnodecount
getcoreswithvar
getcreeper
getcreepercolors
getcurrentbuildtab
getdeepestcreepercell
getdigitalis
getdigitalisgrowth
getdigitalisraw
getenemyunitsinrange
getfieldcell
getgametimeframes
getglobalrunnercount
getimagecolor
getimageposition
getimagepositionx
getimagepositiony
getimagepositionz
getimagerotation
G cont.
getimagescale
getimagescalex
getimagescaley
getinhibitorcount
getkey
getkeydown
getkeyup
getlistcount
getlistelement
getmissionmode
getmousebutton
getmousebuttondown
getmousebuttonup
getmousecell
getmouseposition
getmousescreenpixelposition
getmousescreenposition
getnearestgroundenemy
getpinfieldcell
getqueuedmovecount
getrunnercount
getscore
getscriptvar
gettargetoffsetx
gettargetoffsety
gettechartifacttype
gettechlimit
getterrain
getterrainoverride
gettimer0
gettimer1
gettimer2
gettimer3
getunitat
getunitattribute
getunitcountinrange
getunitsinrange
getunittargetoffsetx
getunittargetoffsety
getunittransformposition
getunittype
getupdatecount
getvoid
getwall
gt
gte
H
hidetracelog
I
i
if
insertlistelement
invocationcount
iscreeperinrange
isdigitalisconnected
iseditmode
ismessagedialogshowing
ispaused
isterrainlos
J
j
K
k
L
ln
log
log10
loop
lt
lte
M
makerain
mapheight
mapwidth
max
min
mod
mul
N
neg
neq
neq0
not
notpersist
O
once
operatewhilepaused
or
P
pathfindterrain
pausegame
persistcore
pi
pixeltocell
playsound
pop
pow
prependstacktolist
prependtolist
Q
queuemove
R
randcoords
randcoordsinrange
randfloat
randint
randunitcoords
randxcoord
randycoord
read
refdelete
refexists
refread
refwrite
removeimages
removelistelement
repeat
resetgametime
return
round
S
screenheight
screenwidth
self
setadditionalscore
S cont.
setanticreepermax
setbuildlimit
setcameraposition
setcamerazoom
setcelloccupiedcount
setcreeper
setcreepercolors
setcreeperevaporationlimit
setcreeperflowrate
setcreeperflowrateondigitalis
setcreeperflowrateondigitalisrl
setcreeperflowrateondigitalisud
setcreeperflowraterl
setcreeperflowrateud
setcreepermax
setcreepernolower
setcurrentcoords
setcurrentx
setcurrenty
setdigitalis
setdigitalisgrowth
setdigitalisraw
setfieldcell
setgametime
setgametimeframes
setimage
setimagecolor
setimageposition
setimagepositionx
setimagepositiony
setimagepositionz
setimagerotation
setimagescale
setimagescalex
setimagescaley
setlistelement
setpinfieldcell
setpopuptext
setpopuptextalwaysvisible
setpopuptextx
setpopuptexty
setscreencoords
setscreencoordx
setscreencoordy
setscreenmode
setscreenpixelcoords
setscreenpixelcoordx
setscreenpixelcoordy
setscriptvar
setsysteminhibited
settargetoffsetx
settargetoffsety
settechartifacttype
settechlimit
setterrain
setterrainoverride
settext
settextalignment
settextanchor
settextcolor
settextrotation
settextsize
settextx
settexty
settextz
settimer0
settimer1
settimer2
settimer3
setunitattribute
setunitselectableoverride
setunittargetoffsetx
setunittargetoffsety
setvoid
setwall
setwind
shortestangle
showconversation
showgameeventtag
showmessage
showmessagedialog
showmessagedismissible
showopeningconversation
showtracelog
sin
split
sqrt
stacksize
startswith
stringlength
stringreplace
stringtolist
sub
substring
suspendmove
swap
T
tan
tolower
toupper
trace
trace2
trace3
trace4
trace5
tracestack
true
U
unpausegame
usercancel
W
wasmessagedismissed
while
write
X
xor
the missing list