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 51: | Line 51: | ||
*[[whilevarvarn]] | *[[whilevarvarn]] | ||
==Game Variables== | ==Game Variables== | ||
*[[gamevar]] | |||
===Gamevar Operators=== | ===Gamevar Operators=== | ||
*[[setvar]] | *[[setvar]] | ||
Line 98: | Line 99: | ||
*[[mulscale]] | *[[mulscale]] | ||
*[[getangle]] | *[[getangle]] | ||
*[[getincangle]] | |||
===Arrays=== | ===Arrays=== | ||
*[[gamearray]] | *[[gamearray]] | ||
Line 147: | Line 149: | ||
*[[getlastpal]] | *[[getlastpal]] | ||
*[[sleeptime]] | *[[sleeptime]] | ||
*[[spriteflags]] | *[[spriteflags]] | ||
*[[angoff]] | *[[angoff]] | ||
Line 169: | Line 169: | ||
*[[ifdead]] | *[[ifdead]] | ||
*[[ifactornotstayput]] | *[[ifactornotstayput]] | ||
===Manipulation=== | |||
*[[changespritesect]] | |||
*[[changespritestat]] | |||
*[[movesprite]] | |||
*[[clipmove]] | |||
*[[clipmovenoslide]] | |||
*[[setsprite]] | |||
===Measurements=== | |||
*[[dist]] | |||
*[[ldist]] | |||
*[[cansee]] | |||
*[[canseespr]] | |||
===Surroundings=== | ===Surroundings=== | ||
====Commands==== | ====Commands==== | ||
Line 219: | Line 231: | ||
*[[ezshoot]] | *[[ezshoot]] | ||
*[[ezshootvar]] | *[[ezshootvar]] | ||
*[[hitradius]] | |||
*[[hitradiusvar]] | |||
==Player== | ==Player== | ||
===Commands=== | ===Commands=== | ||
Line 233: | Line 247: | ||
*[[checkavailinven]] | *[[checkavailinven]] | ||
*[[checkavailweapon]] | *[[checkavailweapon]] | ||
*[[addkills]] | |||
===If=== | ===If=== | ||
*[[ifgotweaponce]] | *[[ifgotweaponce]] | ||
Line 256: | Line 271: | ||
*[[getceilzofslope]] | *[[getceilzofslope]] | ||
*[[getflorzofslope]] | *[[getflorzofslope]] | ||
*[[getzrange]] | |||
*[[updatesector]] | *[[updatesector]] | ||
*[[updatesectorz]] | *[[updatesectorz]] | ||
*[[checkactivatormotion]] | *[[checkactivatormotion]] | ||
*[[rotatepoint]] | |||
==Discovery== | ==Discovery== | ||
===Searching=== | ===Searching=== | ||
Line 276: | Line 293: | ||
*[[findplayer]] | *[[findplayer]] | ||
*[[neartag]] | *[[neartag]] | ||
*[[hitscan]] | |||
===Sorting=== | ===Sorting=== | ||
*[[headspritesect]] | *[[headspritesect]] | ||
Line 323: | Line 341: | ||
*[[quake]] | *[[quake]] | ||
*[[guniqhudid]] | *[[guniqhudid]] | ||
*[[setaspect]] | |||
===Player Actions=== | ===Player Actions=== | ||
*[[pkick]] | *[[pkick]] | ||
Line 340: | Line 359: | ||
*[[displayrandvar]] | *[[displayrandvar]] | ||
*[[displayrandvarvar]] | *[[displayrandvarvar]] | ||
==Time Access== | |||
*[[getticks]] | |||
*[[gettimedate]] | |||
==Game-Changing== | |||
*[[activatecheat]] | |||
*[[setgamepalette]] | |||
*[[startlevel]] | |||
*[[inittimer]] | |||
*[[endofgame]] | |||
==Data Saving== | ==Data Saving== | ||
*[[save]] | |||
*[[savenn]] | |||
*[[readgamevar]] | *[[readgamevar]] | ||
*[[savegamevar]] | *[[savegamevar]] | ||
Line 354: | Line 384: | ||
*[[addlogvar]] | *[[addlogvar]] | ||
==Unsorted== | ==Unsorted== | ||
*[[cmenu]] | *[[cmenu]] | ||
*[[getangletotarget]] | *[[getangletotarget]] | ||
*[[ifrnd]] | *[[ifrnd]] | ||
*[[lineintersect]] | *[[lineintersect]] | ||
*[[rayintersect]] | *[[rayintersect]] | ||
*[[return]] | *[[return]] | ||
*[[ssp]] | *[[ssp]] | ||
==Deprecated== | ==Deprecated== | ||
*[[betaname]] | *[[betaname]] | ||
*[[enhanced]] | *[[enhanced]] | ||
*[[eventloadactor]] | *[[eventloadactor]] | ||
*[[time]] | |||
===Screen Drawing=== | ===Screen Drawing=== | ||
*[[myos]] | *[[myos]] |
Revision as of 15:13, 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
Structure Access
- getactor
- getactorvar
- getinput
- getplayer
- getplayervar
- getprojectile
- getsector
- getthisprojectile
- gettspr
- getuserdef
- getwall
- setactor
- setactorvar
- setinput
- setplayer
- setplayervar
- setprojectile
- setsector
- setthisprojectile
- settspr
- setuserdef
- setwall
Actors
Settings
Commands
- cactor
- action
- ai
- move
- count
- resetactioncount
- resetcount
- cstat
- cstator
- clipdist
- sizeat
- sizeto
- strength
- addstrength
- spritepal
- getlastpal
- sleeptime
- spriteflags
- angoff
- angoffvar
- fall
- insertspriteq
- killit
If
- ifactor
- ifaction
- ifactioncount
- ifai
- ifcount
- ifmove
- ifspawnedby
- ifspritepal
- ifstrength
- ifhitweapon
- ifwasweapon
- ifdead
- ifactornotstayput
Manipulation
Measurements
Surroundings
Commands
If
- ifawayfromwall
- ifbulletnear
- ifceilingdistl
- iffloordistl
- ifgapzl
- ifsquished
- ifnotmoving
- ifinwater
- ifonwater
- ifoutside
- ifinspace
- ifinouterspace
Mapping Features
Player Interaction
Spawning
Materials
Projectiles
- defineprojectile
- shoot
- shootvar
- eshoot
- eshootvar
- zshoot
- zshootvar
- ezshoot
- ezshootvar
- hitradius
- hitradiusvar
Player
Commands
- addammo
- addinventory
- addweapon
- addweaponvar
- addphealth
- tossweapon
- resetplayer
- lockplayer
- gmaxammo
- smaxammo
- checkavailinven
- checkavailweapon
- addkills
If
Sectors
Operating
Manipulation
Analysis
- getceilzofslope
- getflorzofslope
- getzrange
- updatesector
- updatesectorz
- checkactivatormotion
- rotatepoint
Discovery
Searching
- findnearactor
- findnearactor3d
- findnearactor3dvar
- findnearactorvar
- findnearactorz
- findnearactorzvar
- findnearsprite
- findnearsprite3d
- findnearsprite3dvar
- findnearspritevar
- findnearspritez
- findnearspritezvar
- findotherplayer
- findplayer
- neartag
- hitscan
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
Time Access
Game-Changing
Data Saving
Hub Maps
Debug
Unsorted
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)