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 50: | Line 50: | ||
*[[whilevarn]] | *[[whilevarn]] | ||
*[[whilevarvarn]] | *[[whilevarvarn]] | ||
== | ==Game Variables== | ||
===Gamevar Operators=== | |||
*[[setvar]] | |||
*[[setvarvar]] | |||
*[[addvar]] | |||
*[[addvarvar]] | |||
*[[subvar]] | |||
*[[subvarvar]] | |||
*[[mulvar]] | |||
*[[mulvarvar]] | |||
*[[divvar]] | |||
*[[divvarvar]] | |||
*[[modvar]] | |||
*[[modvarvar]] | |||
*[[andvar]] | |||
*[[andvarvar]] | |||
*[[orvar]] | |||
*[[orvarvar]] | |||
*[[xorvar]] | |||
*[[xorvarvar]] | |||
*[[randvar]] | |||
*[[randvarvar]] | |||
===Gamevar Conditions=== | |||
*[[ifvare]] | |||
*[[ifvarn]] | |||
*[[ifvarg]] | |||
*[[ifvarl]] | |||
*[[ifvarand]] | |||
*[[ifvaror]] | |||
*[[ifvarxor]] | |||
*[[ifvareither]] | |||
*[[ifvarvare]] | |||
*[[ifvarvarn]] | |||
*[[ifvarvarg]] | |||
*[[ifvarvarl]] | |||
*[[ifvarvarand]] | |||
*[[ifvarvaror]] | |||
*[[ifvarvarxor]] | |||
*[[ifvarvareither]] | |||
===Math Operations=== | |||
*[[sqrt]] | |||
*[[calchypotenuse]] | |||
*[[sin]] | |||
*[[cos]] | |||
*[[shiftvarl]] | |||
*[[shiftvarr]] | |||
*[[mulscale]] | |||
*[[getangle]] | |||
===Arrays=== | |||
*[[gamearray]] | |||
*[[setarray]] | |||
*[[getarraysize]] | |||
*[[resizearray]] | |||
*[[copy]] | |||
==Actors== | |||
===Settings=== | ===Settings=== | ||
====Commands==== | ====Commands==== | ||
Line 117: | Line 171: | ||
*[[ifcanshoottarget]] | *[[ifcanshoottarget]] | ||
*[[ifhitspace]] | *[[ifhitspace]] | ||
===Spawning=== | |||
*[[spawn]] | |||
*[[espawn]] | |||
*[[espawnvar]] | |||
*[[qspawn]] | |||
*[[qspawnvar]] | |||
*[[eqspawn]] | |||
*[[eqspawnvar]] | |||
===Materials=== | |||
*[[debris]] | |||
*[[guts]] | |||
*[[lotsofglass]] | |||
*[[mail]] | |||
*[[money]] | |||
*[[paper]] | |||
==Projectiles== | |||
*[[defineprojectile]] | |||
*[[shoot]] | |||
*[[shootvar]] | |||
*[[eshoot]] | |||
*[[eshootvar]] | |||
*[[zshoot]] | |||
*[[zshootvar]] | |||
*[[ezshoot]] | |||
*[[ezshootvar]] | |||
==Player== | ==Player== | ||
===Commands=== | ===Commands=== | ||
Line 161: | Line 240: | ||
*[[setuserdef]] | *[[setuserdef]] | ||
*[[setwall]] | *[[setwall]] | ||
==Sectors== | ==Sectors== | ||
===Operating=== | ===Operating=== | ||
Line 269: | Line 248: | ||
*[[operatesectors]] | *[[operatesectors]] | ||
*[[activatebysector]] | *[[activatebysector]] | ||
===Manipulation=== | ===Manipulation=== | ||
*[[dragpoint]] | *[[dragpoint]] | ||
Line 275: | Line 253: | ||
*[[sectorofwall]] | *[[sectorofwall]] | ||
*[[sectsetinterpolation]] | *[[sectsetinterpolation]] | ||
=== | ===Analysis=== | ||
*[[getceilzofslope]] | *[[getceilzofslope]] | ||
*[[getflorzofslope]] | *[[getflorzofslope]] | ||
*[[updatesector]] | *[[updatesector]] | ||
*[[updatesectorz]] | *[[updatesectorz]] | ||
*[[checkactivatormotion]] | |||
==Discovery== | |||
===Searching=== | |||
*[[findnearactor]] | |||
*[[findnearactor3d]] | |||
*[[findnearactor3dvar]] | |||
*[[findnearactorvar]] | |||
*[[findnearactorz]] | |||
*[[findnearactorzvar]] | |||
*[[findnearsprite]] | |||
*[[findnearsprite3d]] | |||
*[[findnearsprite3dvar]] | |||
*[[findnearspritevar]] | |||
*[[findnearspritez]] | |||
*[[findnearspritezvar]] | |||
*[[findotherplayer]] | |||
*[[findplayer]] | |||
*[[neartag]] | |||
===Sorting=== | |||
*[[headspritesect]] | |||
*[[headspritestat]] | |||
*[[nextspritesect]] | |||
*[[nextspritestat]] | |||
*[[prevspritesect]] | |||
*[[prevspritestat]] | |||
==Audio== | ==Audio== | ||
===Sounds=== | ===Sounds=== | ||
Line 358: | Line 361: | ||
*[[clipmovenoslide]] | *[[clipmovenoslide]] | ||
*[[cmenu]] | *[[cmenu]] | ||
*[[dist]] | *[[dist]] | ||
*[[endofgame]] | *[[endofgame]] |
Revision as of 14:56, 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
Game Variables
Gamevar Operators
- setvar
- setvarvar
- addvar
- addvarvar
- subvar
- subvarvar
- mulvar
- mulvarvar
- divvar
- divvarvar
- modvar
- modvarvar
- andvar
- andvarvar
- orvar
- orvarvar
- xorvar
- xorvarvar
- randvar
- randvarvar
Gamevar Conditions
- ifvare
- ifvarn
- ifvarg
- ifvarl
- ifvarand
- ifvaror
- ifvarxor
- ifvareither
- ifvarvare
- ifvarvarn
- ifvarvarg
- ifvarvarl
- ifvarvarand
- ifvarvaror
- ifvarvarxor
- ifvarvareither
Math Operations
Arrays
Actors
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
Spawning
Materials
Projectiles
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
Sectors
Operating
Manipulation
Analysis
Discovery
Searching
- findnearactor
- findnearactor3d
- findnearactor3dvar
- findnearactorvar
- findnearactorz
- findnearactorzvar
- findnearsprite
- findnearsprite3d
- findnearsprite3dvar
- findnearspritevar
- findnearspritez
- findnearspritezvar
- findotherplayer
- findplayer
- neartag
Sorting
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
- 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)