All CON commands for editors: Difference between revisions
Helixhorned (talk | contribs) add showviewunbiased |
Hendricks266 (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
===block-enclosing keywords=== | ===block-enclosing keywords=== | ||
actor<br> | actor<br> | ||
useractor<br> | |||
enda<br> | enda<br> | ||
defstate<br> | |||
ends<br> | ends<br> | ||
onevent<br> | onevent<br> | ||
appendevent<br> | |||
eventloadactor<br> | |||
endevent<br> | endevent<br> | ||
===control flow keywords=== | ===control flow keywords=== | ||
break<br> | break<br> | ||
Line 31: | Line 33: | ||
ifclient<br> | ifclient<br> | ||
ifcount<br> | ifcount<br> | ||
ifcutscene<br> | |||
ifdead<br> | ifdead<br> | ||
iffloordistl<br> | iffloordistl<br> | ||
Line 51: | Line 54: | ||
ifphealthl<br> | ifphealthl<br> | ||
ifpinventory<br> | ifpinventory<br> | ||
ifplayersl<br> | |||
ifrespawn<br> | ifrespawn<br> | ||
ifrnd<br> | ifrnd<br> | ||
Line 77: | Line 81: | ||
ifwasweapon<br> | ifwasweapon<br> | ||
return<br> | return<br> | ||
state<br> | |||
switch<br> | switch<br> | ||
whilevarn<br> | whilevarn<br> | ||
Line 83: | Line 88: | ||
===the rest=== | ===the rest=== | ||
action<br> | action<br> | ||
activate<br> | |||
activatebysector<br> | activatebysector<br> | ||
activatecheat<br> | activatecheat<br> | ||
Line 133: | Line 139: | ||
defineskillname<br> | defineskillname<br> | ||
definesound<br> | definesound<br> | ||
definevolumeflags<br> | |||
definevolumename<br> | definevolumename<br> | ||
digitalnumber<br> | digitalnumber<br> | ||
Line 144: | Line 151: | ||
dragpoint<br> | dragpoint<br> | ||
dynamicremap<br> | dynamicremap<br> | ||
dynamicsoundremap<br> | |||
echo<br> | echo<br> | ||
endofgame<br> | endofgame<br> | ||
endoflevel<br> | |||
enhanced<br> | enhanced<br> | ||
eqspawn<br> | eqspawn<br> | ||
Line 189: | Line 198: | ||
getkeyname<br> | getkeyname<br> | ||
getlastpal<br> | getlastpal<br> | ||
getmusicposition<br> | |||
getplayer<br> | getplayer<br> | ||
getplayerangle<br> | getplayerangle<br> | ||
Line 265: | Line 275: | ||
qstrcat<br> | qstrcat<br> | ||
qstrcpy<br> | qstrcpy<br> | ||
qstrdim<br> | |||
qstrlen<br> | |||
qstrncat<br> | qstrncat<br> | ||
qsubstr<br> | qsubstr<br> | ||
quake<br> | quake<br> | ||
Line 279: | Line 290: | ||
resetcount<br> | resetcount<br> | ||
resetplayer<br> | resetplayer<br> | ||
resetplayerflags<br> | |||
resizearray<br> | resizearray<br> | ||
respawnhitag<br> | respawnhitag<br> | ||
Line 284: | Line 296: | ||
rotatesprite<br> | rotatesprite<br> | ||
rotatesprite16<br> | rotatesprite16<br> | ||
rotatespritea<br> | |||
save<br> | save<br> | ||
savegamevar<br> | savegamevar<br> | ||
savemapstate<br> | savemapstate<br> | ||
savenn<br> | savenn<br> | ||
screensound<br> | |||
screentext<br> | |||
scriptsize<br> | scriptsize<br> | ||
sectclearinterpolation<br> | sectclearinterpolation<br> | ||
Line 305: | Line 320: | ||
setgamepalette<br> | setgamepalette<br> | ||
setinput<br> | setinput<br> | ||
setmusicposition<br> | |||
setplayer<br> | setplayer<br> | ||
setplayerangle<br> | setplayerangle<br> | ||
Line 317: | Line 333: | ||
setvarvar<br> | setvarvar<br> | ||
setwall<br> | setwall<br> | ||
shadeto<br> | |||
shiftvarl<br> | shiftvarl<br> | ||
shiftvarr<br> | shiftvarr<br> | ||
Line 343: | Line 360: | ||
sqrt<br> | sqrt<br> | ||
ssp<br> | ssp<br> | ||
startcutscene<br> | |||
startlevel<br> | startlevel<br> | ||
starttrack<br> | starttrack<br> | ||
Line 356: | Line 374: | ||
tip<br> | tip<br> | ||
tossweapon<br> | tossweapon<br> | ||
undefinelevel<br> | |||
undefineskill<br> | |||
undefinevolume<br> | |||
updatesector<br> | updatesector<br> | ||
updatesectorz<br> | updatesectorz<br> |
Latest revision as of 23:05, 23 September 2015
This page lists all CON keywords divided into three categories: block-enclosing keywords, control flow keywords, and the rest. You can use this list to create token definitions for syntax highlighting of CON code for you favourite text editor.
block-enclosing keywords
actor
useractor
enda
defstate
ends
onevent
appendevent
eventloadactor
endevent
control flow keywords
break
case
default
else
endswitch
ifaction
ifactioncount
ifactor
ifactorsound
ifactornotstayput
ifai
ifangdiffl
ifawayfromwall
ifbulletnear
ifcansee
ifcanseetarget
ifcanshoottarget
ifceilingdistl
ifclient
ifcount
ifcutscene
ifdead
iffloordistl
ifgapzl
ifgotweaponce
ifhitspace
ifhitweapon
ifinouterspace
ifinspace
ifinwater
ifmove
ifmultiplayer
ifnosounds
ifnotmoving
ifonwater
ifoutside
ifp
ifpdistg
ifpdistl
ifphealthl
ifpinventory
ifplayersl
ifrespawn
ifrnd
ifserver
ifsound
ifspawnedby
ifspritepal
ifsquished
ifstrength
ifvarand
ifvare
ifvareither
ifvarg
ifvarl
ifvarn
ifvaror
ifvarvarand
ifvarvare
ifvarvareither
ifvarvarg
ifvarvarl
ifvarvarn
ifvarvaror
ifvarvarxor
ifvarxor
ifwasweapon
return
state
switch
whilevarn
whilevarvarn
the rest
action
activate
activatebysector
activatecheat
addammo
addinventory
addkills
addlog
addlogvar
addphealth
addstrength
addvar
addvarvar
addweapon
addweaponvar
ai
andvar
andvarvar
angoff
angoffvar
betaname
cactor
calchypotenuse
cansee
canseespr
changespritesect
changespritestat
cheatkeys
checkactivatormotion
checkavailinven
checkavailweapon
clearmapstate
clipdist
clipmove
clipmovenoslide
cmenu
copy
cos
count
cstat
cstator
debris
debug
define
definecheat
definegamefuncname
definegametype
definelevelname
defineprojectile
definequote
defineskillname
definesound
definevolumeflags
definevolumename
digitalnumber
digitalnumberz
displayrand
displayrandvar
displayrandvarvar
dist
divvar
divvarvar
dragpoint
dynamicremap
dynamicsoundremap
echo
endofgame
endoflevel
enhanced
eqspawn
eqspawnvar
eshoot
eshootvar
espawn
espawnvar
ezshoot
ezshootvar
fall
findnearactor
findnearactor3d
findnearactor3dvar
findnearactorvar
findnearactorz
findnearactorzvar
findnearsprite
findnearsprite3d
findnearsprite3dvar
findnearspritevar
findnearspritez
findnearspritezvar
findotherplayer
findplayer
flash
gamearray
gamestartup
gametext
gametextz
gamevar
getactor
getactorangle
getactorvar
getangle
getangletotarget
getarraysize
getceilzofslope
getcurraddress
getflorzofslope
getincangle
getinput
getkeyname
getlastpal
getmusicposition
getplayer
getplayerangle
getplayervar
getpname
getprojectile
getsector
gettextureceiling
gettexturefloor
getthisprojectile
getticks
gettimedate
gettspr
getuserdef
getwall
getzrange
globalsound
globalsoundvar
gmaxammo
guniqhudid
guts
headspritesect
headspritestat
hitradius
hitradiusvar
hitscan
include
includedefault
inittimer
insertspriteq
jump
killit
ldist
lineintersect
loadmapstate
lockplayer
lotsofglass
mail
mikesnd
minitext
modvar
modvarvar
money
move
movesprite
mulscale
mulvar
mulvarvar
music
myos
myospal
myospalx
myosx
neartag
nextspritesect
nextspritestat
nullop
operate
operateactivators
operatemasterswitches
operaterespawns
operatesectors
orvar
orvarvar
palfrom
paper
pkick
precache
prevspritesect
prevspritestat
pstomp
qgetsysstr
qspawn
qspawnvar
qsprintf
qstrcat
qstrcpy
qstrdim
qstrlen
qstrncat
qsubstr
quake
quote
randvar
randvarvar
rayintersect
readarrayfromfile
readgamevar
redefinequote
resetactioncount
resetcount
resetplayer
resetplayerflags
resizearray
respawnhitag
rotatepoint
rotatesprite
rotatesprite16
rotatespritea
save
savegamevar
savemapstate
savenn
screensound
screentext
scriptsize
sectclearinterpolation
sectgethitag
sectgetlotag
sectorofwall
sectsetinterpolation
setactor
setactorangle
setactorsoundpitch
setactorvar
setarray
setaspect
setcfgname
setdefname
setgamename
setgamepalette
setinput
setmusicposition
setplayer
setplayerangle
setplayervar
setprojectile
setsector
setsprite
setthisprojectile
settspr
setuserdef
setvar
setvarvar
setwall
shadeto
shiftvarl
shiftvarr
shoot
shootvar
showview
showviewunbiased
sin
sizeat
sizeto
sleeptime
smaxammo
sound
soundonce
soundoncevar
soundvar
spawn
spgethitag
spgetlotag
spriteflags
spritenopal
spritenoshade
spritenvg
spritepal
spriteshadow
sqrt
ssp
startcutscene
startlevel
starttrack
starttrackvar
stopactorsound
stopallsounds
stopsound
stopsoundvar
strength
subvar
subvarvar
time
tip
tossweapon
undefinelevel
undefineskill
undefinevolume
updatesector
updatesectorz
userquote
wackplayer
writearraytofile
xorvar
xorvarvar
zshoot
zshootvar