Category:All commands: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) No edit summary |
Hendricks266 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{EDuke32 Intro}} | {{EDuke32 Intro}} | ||
== | ==Preprocessor== | ||
*[[include]] | |||
*[[define]] | |||
==Meta-Settings== | |||
*[[dynamicremap]] | |||
*[[setcfgname]] | |||
*[[setdefname]] | |||
*[[setgamename]] | |||
*[[precache]] | |||
*[[scriptsize]] | |||
*[[cheatkeys]] | |||
*[[definecheat]] | |||
*[[definegamefuncname]] | |||
*[[definegametype]] | |||
*[[definelevelname]] | |||
*[[defineskillname]] | |||
*[[definevolumename]] | |||
===If=== | |||
*[[ifrespawn]] | |||
*[[ifmultiplayer]] | |||
*[[ifclient]] | |||
*[[ifserver]] | |||
==Global Settings== | |||
*[[gamestartup]] | |||
*[[spritenopal]] | |||
*[[spritenoshade]] | |||
*[[spritenvg]] | |||
*[[spriteshadow]] | |||
==Block Delimiting== | |||
*[[actor]] | *[[actor]] | ||
*[[useractor]] | *[[useractor]] | ||
Line 9: | Line 37: | ||
*[[onevent]] | *[[onevent]] | ||
*[[endevent]] | *[[endevent]] | ||
*[[ | ==Flow Control== | ||
*[[nullop]] | |||
*[[else]] | |||
*[[switch]] | *[[switch]] | ||
*[[endswitch]] | *[[endswitch]] | ||
Line 21: | Line 51: | ||
*[[whilevarvarn]] | *[[whilevarvarn]] | ||
==Actor Control== | ==Actor Control== | ||
===Settings=== | |||
====Commands==== | |||
*[[cactor]] | |||
*[[action]] | *[[action]] | ||
*[[ai]] | *[[ai]] | ||
*[[move]] | *[[move]] | ||
*[[count]] | |||
*[[resetactioncount]] | |||
*[[resetcount]] | |||
*[[cstat]] | |||
*[[cstator]] | |||
*[[clipdist]] | |||
*[[sizeat]] | |||
*[[sizeto]] | |||
*[[strength]] | |||
*[[addstrength]] | |||
*[[spritepal]] | |||
*[[getlastpal]] | |||
*[[sleeptime]] | |||
*[[changespritesect]] | |||
*[[changespritestat]] | |||
*[[spriteflags]] | |||
*[[angoff]] | |||
*[[angoffvar]] | |||
*[[fall]] | |||
*[[insertspriteq]] | |||
*[[killit]] | |||
====If==== | |||
*[[ifactor]] | |||
*[[ifaction]] | |||
*[[ifactioncount]] | |||
*[[ifai]] | |||
*[[ifcount]] | |||
*[[ifmove]] | |||
*[[ifspawnedby]] | |||
*[[ifspritepal]] | |||
*[[ifstrength]] | |||
*[[ifhitweapon]] | |||
*[[ifwasweapon]] | |||
*[[ifdead]] | |||
*[[ifactornotstayput]] | |||
===Surroundings=== | |||
====Commands==== | |||
*[[flash]] | |||
====If==== | |||
*[[ifawayfromwall]] | |||
*[[ifbulletnear]] | |||
*[[ifceilingdistl]] | |||
*[[iffloordistl]] | |||
*[[ifgapzl]] | |||
*[[ifsquished]] | |||
*[[ifnotmoving]] | |||
*[[ifinwater]] | |||
*[[ifonwater]] | |||
*[[ifoutside]] | |||
*[[ifinspace]] | |||
*[[ifinouterspace]] | |||
===Mapping Features=== | |||
*[[mikesnd]] | |||
*[[respawnhitag]] | |||
===Player Interaction=== | |||
*[[ifangdiffl]] | |||
*[[ifcansee]] | |||
*[[ifcanseetarget]] | |||
*[[ifcanshoottarget]] | |||
*[[ifhitspace]] | |||
==Player== | |||
===Commands=== | |||
*[[addammo]] | |||
*[[addinventory]] | |||
*[[addweapon]] | |||
*[[addweaponvar]] | |||
*[[addphealth]] | |||
*[[tossweapon]] | |||
*[[resetplayer]] | |||
*[[lockplayer]] | |||
*[[gmaxammo]] | |||
*[[smaxammo]] | |||
*[[checkavailinven]] | |||
*[[checkavailweapon]] | |||
===If=== | |||
*[[ifgotweaponce]] | |||
*[[ifp]] | |||
*[[ifpdistg]] | |||
*[[ifpdistl]] | |||
*[[ifphealthl]] | |||
*[[ifpinventory]] | |||
==Structure Access== | ==Structure Access== | ||
*[[getactor]] | *[[getactor]] | ||
Line 124: | Line 238: | ||
*[[eqspawn]] | *[[eqspawn]] | ||
*[[eqspawnvar]] | *[[eqspawnvar]] | ||
==Searching== | |||
*[[findnearactor]] | |||
*[[findnearactor3d]] | |||
*[[findnearactor3dvar]] | |||
*[[findnearactorvar]] | |||
*[[findnearactorz]] | |||
*[[findnearactorzvar]] | |||
*[[findnearsprite]] | |||
*[[findnearsprite3d]] | |||
*[[findnearsprite3dvar]] | |||
*[[findnearspritevar]] | |||
*[[findnearspritez]] | |||
*[[findnearspritezvar]] | |||
*[[findotherplayer]] | |||
*[[findplayer]] | |||
*[[neartag]] | |||
==Materials== | ==Materials== | ||
*[[debris]] | *[[debris]] | ||
Line 131: | Line 261: | ||
*[[money]] | *[[money]] | ||
*[[paper]] | *[[paper]] | ||
==Sectors== | |||
===Operating=== | |||
*[[operate]] | |||
*[[operateactivators]] | |||
*[[operatemasterswitches]] | |||
*[[operaterespawns]] | |||
*[[operatesectors]] | |||
*[[activatebysector]] | |||
*[[checkactivatormotion]] | |||
===Manipulation=== | |||
*[[dragpoint]] | |||
*[[sectclearinterpolation]] | |||
*[[sectorofwall]] | |||
*[[sectsetinterpolation]] | |||
===Discovery=== | |||
*[[getceilzofslope]] | |||
*[[getflorzofslope]] | |||
*[[updatesector]] | |||
*[[updatesectorz]] | |||
==Audio== | ==Audio== | ||
===Sounds=== | ===Sounds=== | ||
Line 144: | Line 293: | ||
*[[stopactorsound]] | *[[stopactorsound]] | ||
*[[stopallsounds]] | *[[stopallsounds]] | ||
*[[ifsound]] | |||
*[[ifactorsound]] | |||
*[[ifnosounds]] | |||
===Music=== | ===Music=== | ||
*[[music]] | *[[music]] | ||
Line 153: | Line 305: | ||
*[[quote]] | *[[quote]] | ||
*[[userquote]] | *[[userquote]] | ||
*[[qsprintf]] | *[[qsprintf]] | ||
*[[qstrcat]] | *[[qstrcat]] | ||
Line 160: | Line 311: | ||
*[[qstrncat]] | *[[qstrncat]] | ||
*[[qsubstr]] | *[[qsubstr]] | ||
*[[qgetsysstr]] | |||
*[[getpname]] | |||
*[[getkeyname]] | |||
==Screen== | ==Screen== | ||
===Screen Manipulation=== | ===Screen Manipulation=== | ||
Line 183: | Line 337: | ||
*[[displayrandvar]] | *[[displayrandvar]] | ||
*[[displayrandvarvar]] | *[[displayrandvarvar]] | ||
==Hub Maps== | ==Data Saving== | ||
*[[readgamevar]] | |||
*[[savegamevar]] | |||
*[[readarrayfromfile]] | |||
*[[writearraytofile]] | |||
===Hub Maps=== | |||
*[[loadmapstate]] | *[[loadmapstate]] | ||
*[[savemapstate]] | *[[savemapstate]] | ||
*[[clearmapstate]] | |||
==Debug== | |||
*[[debug]] | |||
*[[addlog]] | |||
*[[addlogvar]] | |||
==Unsorted== | ==Unsorted== | ||
*[[activatecheat]] | *[[activatecheat]] | ||
*[[addkills]] | *[[addkills]] | ||
*[[cansee]] | *[[cansee]] | ||
*[[canseespr]] | *[[canseespr]] | ||
*[[clipmove]] | *[[clipmove]] | ||
*[[clipmovenoslide]] | *[[clipmovenoslide]] | ||
*[[cmenu]] | *[[cmenu]] | ||
*[[defineprojectile]] | *[[defineprojectile]] | ||
*[[dist]] | *[[dist]] | ||
*[[endofgame]] | *[[endofgame]] | ||
*[[gamevar]] | *[[gamevar]] | ||
*[[getangletotarget]] | *[[getangletotarget]] | ||
*[[getincangle]] | *[[getincangle]] | ||
*[[getticks]] | *[[getticks]] | ||
*[[gettimedate]] | *[[gettimedate]] | ||
*[[getzrange]] | *[[getzrange]] | ||
*[[hitradius]] | *[[hitradius]] | ||
*[[hitradiusvar]] | *[[hitradiusvar]] | ||
*[[hitscan]] | *[[hitscan]] | ||
*[[ifrnd]] | *[[ifrnd]] | ||
*[[inittimer]] | *[[inittimer]] | ||
*[[ldist]] | *[[ldist]] | ||
*[[lineintersect]] | *[[lineintersect]] | ||
*[[movesprite]] | *[[movesprite]] | ||
*[[rayintersect]] | *[[rayintersect]] | ||
*[[return]] | *[[return]] | ||
*[[rotatepoint]] | *[[rotatepoint]] | ||
*[[save]] | *[[save]] | ||
*[[savenn]] | *[[savenn]] | ||
*[[setaspect]] | *[[setaspect]] | ||
*[[setgamepalette]] | *[[setgamepalette]] | ||
*[[setsprite]] | *[[setsprite]] | ||
*[[ssp]] | *[[ssp]] | ||
*[[startlevel]] | *[[startlevel]] | ||
*[[time]] | *[[time]] | ||
==Deprecated== | ==Deprecated== | ||
*[[betaname]] | |||
*[[enhanced]] | |||
*[[eventloadactor]] | |||
===Screen Drawing=== | ===Screen Drawing=== | ||
*[[myos]] | *[[myos]] |
Revision as of 14:42, 12 April 2011
EDuke32 Scripting
Scripting · Full command list (alphabetized · categorized) · Event list · Structure members
Preprocessor
Meta-Settings
- dynamicremap
- setcfgname
- setdefname
- setgamename
- precache
- scriptsize
- cheatkeys
- definecheat
- definegamefuncname
- definegametype
- definelevelname
- defineskillname
- definevolumename
If
Global Settings
Block Delimiting
Flow Control
Loops
Actor Control
Settings
Commands
- cactor
- action
- ai
- move
- count
- resetactioncount
- resetcount
- cstat
- cstator
- clipdist
- sizeat
- sizeto
- strength
- addstrength
- spritepal
- getlastpal
- sleeptime
- changespritesect
- changespritestat
- spriteflags
- angoff
- angoffvar
- fall
- insertspriteq
- killit
If
- ifactor
- ifaction
- ifactioncount
- ifai
- ifcount
- ifmove
- ifspawnedby
- ifspritepal
- ifstrength
- ifhitweapon
- ifwasweapon
- ifdead
- ifactornotstayput
Surroundings
Commands
If
- ifawayfromwall
- ifbulletnear
- ifceilingdistl
- iffloordistl
- ifgapzl
- ifsquished
- ifnotmoving
- ifinwater
- ifonwater
- ifoutside
- ifinspace
- ifinouterspace
Mapping Features
Player Interaction
Player
Commands
- addammo
- addinventory
- addweapon
- addweaponvar
- addphealth
- tossweapon
- resetplayer
- lockplayer
- gmaxammo
- smaxammo
- checkavailinven
- checkavailweapon
If
Structure Access
- getactor
- getactorvar
- getinput
- getplayer
- getplayervar
- getprojectile
- getsector
- getthisprojectile
- gettspr
- getuserdef
- getwall
- setactor
- setactorvar
- setinput
- setplayer
- setplayervar
- setprojectile
- setsector
- setthisprojectile
- settspr
- setuserdef
- setwall
Searching
Gamevar Operators
- setvar
- setvarvar
- addvar
- addvarvar
- subvar
- subvarvar
- mulvar
- mulvarvar
- divvar
- divvarvar
- modvar
- modvarvar
- andvar
- andvarvar
- orvar
- orvarvar
- xorvar
- xorvarvar
- randvar
- randvarvar
Arrays
Math Operations
Gamevar Conditions
- ifvare
- ifvarn
- ifvarg
- ifvarl
- ifvarand
- ifvaror
- ifvarxor
- ifvareither
- ifvarvare
- ifvarvarn
- ifvarvarg
- ifvarvarl
- ifvarvarand
- ifvarvaror
- ifvarvarxor
- ifvarvareither
Projectiles
Spawning
Searching
- findnearactor
- findnearactor3d
- findnearactor3dvar
- findnearactorvar
- findnearactorz
- findnearactorzvar
- findnearsprite
- findnearsprite3d
- findnearsprite3dvar
- findnearspritevar
- findnearspritez
- findnearspritezvar
- findotherplayer
- findplayer
- neartag
Materials
Sectors
Operating
- operate
- operateactivators
- operatemasterswitches
- operaterespawns
- operatesectors
- activatebysector
- checkactivatormotion
Manipulation
Discovery
Audio
Sounds
- definesound
- sound
- soundvar
- soundonce
- soundoncevar
- globalsound
- globalsoundvar
- stopsound
- stopsoundvar
- stopactorsound
- stopallsounds
- ifsound
- ifactorsound
- ifnosounds
Music
Quotes
- definequote
- redefinequote
- quote
- userquote
- qsprintf
- qstrcat
- qstrcpy
- qstrlen
- qstrncat
- qsubstr
- qgetsysstr
- getpname
- getkeyname
Screen
Screen Manipulation
Player Actions
Screen Drawing
Math
Data Saving
Hub Maps
Debug
Unsorted
- activatecheat
- addkills
- cansee
- canseespr
- clipmove
- clipmovenoslide
- cmenu
- defineprojectile
- dist
- endofgame
- gamevar
- getangletotarget
- getincangle
- getticks
- gettimedate
- getzrange
- hitradius
- hitradiusvar
- hitscan
- ifrnd
- inittimer
- ldist
- lineintersect
- movesprite
- rayintersect
- return
- rotatepoint
- save
- savenn
- setaspect
- setgamepalette
- setsprite
- ssp
- startlevel
- time
Deprecated
Screen Drawing
Single-Use Structure Access
Subcategories
This category has the following 14 subcategories, out of 14 total.
D
- Duke3D 1.3/1.5 commands (110 P)
E
- EDuke commands (77 P)
- EDuke32 specific commands (254 P)
G
I
- If conditions (90 P)
P
S
- Screen drawing commands (22 P)
- Sound manipulation (24 P)
- String manipulation (18 P)