Category:All commands: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) m Removed protection from "Category:All commands" |
Hendricks266 (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
<!-- These deal with matters outside the game world. --> | <!-- These deal with matters outside the game world. --> | ||
*[[dynamicremap]] | *[[dynamicremap]] | ||
*[[dynamicsoundremap]] | |||
*[[setcfgname]] | *[[setcfgname]] | ||
*[[setdefname]] | *[[setdefname]] | ||
Line 195: | Line 196: | ||
*[[clipmove]] | *[[clipmove]] | ||
*[[clipmovenoslide]] | *[[clipmovenoslide]] | ||
===Measurements=== | ===Measurements=== | ||
*[[dist]] | *[[dist]] | ||
Line 245: | Line 245: | ||
*[[money]] | *[[money]] | ||
*[[paper]] | *[[paper]] | ||
==Projectiles== | ==Projectiles== | ||
*[[defineprojectile]] | *[[defineprojectile]] | ||
Line 278: | Line 277: | ||
*[[ifphealthl]] | *[[ifphealthl]] | ||
*[[ifpinventory]] | *[[ifpinventory]] | ||
*[[ifplayersl]] | |||
==Sectors== | ==Sectors== | ||
===Operating=== | ===Operating=== | ||
Line 286: | Line 286: | ||
*[[operatesectors]] | *[[operatesectors]] | ||
*[[activatebysector]] | *[[activatebysector]] | ||
*[[activate]] | |||
===Manipulation=== | ===Manipulation=== | ||
*[[dragpoint]] | *[[dragpoint]] | ||
Line 353: | Line 354: | ||
*[[userquote]] | *[[userquote]] | ||
*[[qsprintf]] | *[[qsprintf]] | ||
*[[qstrcpy]] | |||
*[[qstrcat]] | *[[qstrcat]] | ||
*[[ | *[[qstrncat]] | ||
*[[qstrlen]] | *[[qstrlen]] | ||
*[[qsubstr]] | *[[qsubstr]] | ||
*[[qstrdim]] | |||
*[[qgetsysstr]] | *[[qgetsysstr]] | ||
*[[getpname]] | *[[getpname]] | ||
Line 376: | Line 378: | ||
*[[rotatesprite]] | *[[rotatesprite]] | ||
*[[rotatesprite16]] | *[[rotatesprite16]] | ||
*[[rotatespritea]] | |||
*[[screentext]] | |||
*[[gametext]] | *[[gametext]] | ||
*[[gametextz]] | *[[gametextz]] | ||
Line 395: | Line 399: | ||
*[[inittimer]] | *[[inittimer]] | ||
*[[endofgame]] | *[[endofgame]] | ||
*[[endoflevel]] | |||
*[[cmenu]] | *[[cmenu]] | ||
==Game Saving== | ==Game Saving== | ||
Line 413: | Line 418: | ||
*[[eventloadactor]] | *[[eventloadactor]] | ||
*[[time]] | *[[time]] | ||
*[[shadeto]] | |||
===Screen Drawing=== | ===Screen Drawing=== | ||
*[[myos]] | *[[myos]] |
Revision as of 02:54, 3 June 2013
EDuke32 Scripting
Scripting · Full command list (alphabetized · categorized) · Event list · Structure members
Preprocessor
- include
- includedefault
- define
- // single-line comment
- /* block comment */
- whitespace characters:
( ) ; ,
Meta-Settings
- dynamicremap
- dynamicsoundremap
- setcfgname
- setdefname
- setgamename
- precache
- scriptsize
- cheatkeys
- definecheat
- definegamefuncname
- definegametype
- definelevelname
- defineskillname
- definevolumename
If
Global Settings
Block Delimiting
Object-Oriented
Procedural
Subroutines
Flow Control
If Components
Switch
Termination
Jump
Loops
Game Variables
Gamevar Operators
- setvar
- setvarvar
- setarray
- 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
Array Operations
Data Saving
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
Structures
- cactor
- action
- ai
- move
- count
- resetactioncount
- resetcount
- cstat
- cstator
- clipdist
- sizeat
- sizeto
- strength
- addstrength
- spritepal
- getlastpal
- sleeptime
- spriteflags
- angoff
- angoffvar
- changespritesect
- changespritestat
- setsprite
If
- ifactor
- ifaction
- ifactioncount
- ifai
- ifcount
- ifmove
- ifspawnedby
- ifspritepal
- ifstrength
- ifhitweapon
- ifwasweapon
- ifdead
- ifactornotstayput
Commands
Measurements
Surroundings
Commands
If
- ifawayfromwall
- ifbulletnear
- ifceilingdistl
- iffloordistl
- ifgapzl
- ifsquished
- ifnotmoving
- ifinwater
- ifonwater
- ifoutside
- ifinspace
- ifinouterspace
- ifrnd
Mapping Features
Player Interaction
Spawning
Materials
Projectiles
Player
Commands
- addammo
- addinventory
- addweapon
- addweaponvar
- addphealth
- tossweapon
- gmaxammo
- smaxammo
- checkavailinven
- checkavailweapon
- addkills
- lockplayer
- resetplayer
If
Sectors
Operating
- operate
- operateactivators
- operatemasterswitches
- operaterespawns
- operatesectors
- activatebysector
- activate
Manipulation
Analysis
- getceilzofslope
- getflorzofslope
- getzrange
- updatesector
- updatesectorz
- checkactivatormotion
- rotatepoint
- lineintersect
- rayintersect
- sectorofwall
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
- setactorsoundpitch
Music
Quotes
- definequote
- redefinequote
- quote
- userquote
- qsprintf
- qstrcpy
- qstrcat
- qstrncat
- qstrlen
- qsubstr
- qstrdim
- qgetsysstr
- getpname
- getkeyname
Screen
Screen Manipulation
Player Actions
Screen Drawing
- rotatesprite
- rotatesprite16
- rotatespritea
- screentext
- gametext
- gametextz
- minitext
- digitalnumber
- digitalnumberz
- showview
- showviewunbiased
Math
Time Access
Game-Changing
Game Saving
Hub Maps
Debug
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)