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}} | ||
==Flow Control== | |||
*[[actor]] | *[[actor]] | ||
*[[useractor]] | *[[useractor]] | ||
Line 17: | Line 17: | ||
*[[getcurraddress]] | *[[getcurraddress]] | ||
*[[jump]] | *[[jump]] | ||
==Loops== | |||
*[[whilevarn]] | *[[whilevarn]] | ||
*[[whilevarvarn]] | *[[whilevarvarn]] | ||
==Actor Control== | |||
*[[action]] | *[[action]] | ||
*[[ai]] | *[[ai]] | ||
*[[move]] | *[[move]] | ||
==Structure Access== | |||
*[[getactor]] | *[[getactor]] | ||
*[[getactorvar]] | *[[getactorvar]] | ||
Line 47: | Line 47: | ||
*[[setuserdef]] | *[[setuserdef]] | ||
*[[setwall]] | *[[setwall]] | ||
==Searching== | |||
*[[headspritesect]] | *[[headspritesect]] | ||
*[[headspritestat]] | *[[headspritestat]] | ||
Line 54: | Line 54: | ||
*[[prevspritesect]] | *[[prevspritesect]] | ||
*[[prevspritestat]] | *[[prevspritestat]] | ||
==Gamevar Operators== | |||
*[[setvar]] | *[[setvar]] | ||
*[[setvarvar]] | *[[setvarvar]] | ||
Line 75: | Line 75: | ||
*[[randvar]] | *[[randvar]] | ||
*[[randvarvar]] | *[[randvarvar]] | ||
==Arrays== | |||
*[[setarray]] | *[[setarray]] | ||
*[[getarraysize]] | *[[getarraysize]] | ||
*[[resizearray]] | *[[resizearray]] | ||
*[[copy]] | *[[copy]] | ||
==Math Operations== | |||
*[[sqrt]] | *[[sqrt]] | ||
*[[calchypotenuse]] | *[[calchypotenuse]] | ||
Line 88: | Line 88: | ||
*[[shiftvarr]] | *[[shiftvarr]] | ||
*[[mulscale]] | *[[mulscale]] | ||
==Gamevar Conditions== | |||
*[[ifvare]] | *[[ifvare]] | ||
*[[ifvarn]] | *[[ifvarn]] | ||
Line 105: | Line 105: | ||
*[[ifvarvarxor]] | *[[ifvarvarxor]] | ||
*[[ifvarvareither]] | *[[ifvarvareither]] | ||
==Projectiles== | |||
*[[shoot]] | *[[shoot]] | ||
*[[shootvar]] | *[[shootvar]] | ||
Line 114: | Line 114: | ||
*[[ezshoot]] | *[[ezshoot]] | ||
*[[ezshootvar]] | *[[ezshootvar]] | ||
==Spawning== | |||
*[[spawn]] | *[[spawn]] | ||
*[[espawn]] | *[[espawn]] | ||
Line 122: | Line 122: | ||
*[[eqspawn]] | *[[eqspawn]] | ||
*[[eqspawnvar]] | *[[eqspawnvar]] | ||
==Materials== | |||
*[[debris]] | *[[debris]] | ||
*[[guts]] | *[[guts]] | ||
Line 129: | Line 129: | ||
*[[money]] | *[[money]] | ||
*[[paper]] | *[[paper]] | ||
==Audio== | |||
===Sounds=== | |||
*[[definesound]] | *[[definesound]] | ||
*[[sound]] | *[[sound]] | ||
Line 142: | Line 142: | ||
*[[stopactorsound]] | *[[stopactorsound]] | ||
*[[stopallsounds]] | *[[stopallsounds]] | ||
===Music=== | |||
*[[music]] | *[[music]] | ||
*[[starttrack]] | *[[starttrack]] | ||
*[[starttrackvar]] | *[[starttrackvar]] | ||
==Quotes== | |||
*[[definequote]] | *[[definequote]] | ||
*[[redefinequote]] | *[[redefinequote]] | ||
Line 158: | Line 158: | ||
*[[qstrncat]] | *[[qstrncat]] | ||
*[[qsubstr]] | *[[qsubstr]] | ||
==Screen== | |||
===Screen Manipulation=== | |||
*[[palfrom]] | *[[palfrom]] | ||
*[[wackplayer]] | *[[wackplayer]] | ||
*[[quake]] | *[[quake]] | ||
*[[guniqhudid]] | *[[guniqhudid]] | ||
===Player Actions=== | |||
*[[pkick]] | *[[pkick]] | ||
*[[pstomp]] | *[[pstomp]] | ||
*[[tip]] | *[[tip]] | ||
===Screen Drawing=== | |||
*[[rotatesprite]] | *[[rotatesprite]] | ||
*[[rotatesprite16]] | *[[rotatesprite16]] | ||
Line 177: | Line 177: | ||
*[[digitalnumberz]] | *[[digitalnumberz]] | ||
*[[showview]] | *[[showview]] | ||
===Math=== | |||
*[[displayrand]] | *[[displayrand]] | ||
*[[displayrandvar]] | *[[displayrandvar]] | ||
*[[displayrandvarvar]] | *[[displayrandvarvar]] | ||
==Hub Maps== | |||
*[[loadmapstate]] | *[[loadmapstate]] | ||
*[[savemapstate]] | *[[savemapstate]] | ||
==Unsorted== | |||
*[[activatebysector]] | *[[activatebysector]] | ||
*[[activatecheat]] | *[[activatecheat]] | ||
Line 366: | Line 366: | ||
*[[updatesectorz]] | *[[updatesectorz]] | ||
*[[writearraytofile]] | *[[writearraytofile]] | ||
==Deprecated== | |||
===Screen Drawing=== | |||
*[[myos]] | *[[myos]] | ||
*[[myosx]] | *[[myosx]] | ||
*[[myospal]] | *[[myospal]] | ||
*[[myospalx]] | *[[myospalx]] | ||
===Single-Use Structure Access=== | |||
*[[getactorangle]] | *[[getactorangle]] | ||
*[[getplayerangle]] | *[[getplayerangle]] |
Revision as of 08:11, 8 April 2011
EDuke32 Scripting
Scripting · Full command list (alphabetized · categorized) · Event list · Structure members
Flow Control
- actor
- useractor
- enda
- state
- ends
- onevent
- endevent
- eventloadactor
- switch
- endswitch
- case
- default
- break
- getcurraddress
- jump
Loops
Actor Control
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
Materials
Audio
Sounds
- definesound
- sound
- soundvar
- soundonce
- soundoncevar
- globalsound
- globalsoundvar
- stopsound
- stopsoundvar
- stopactorsound
- stopallsounds
Music
Quotes
- definequote
- redefinequote
- quote
- userquote
- qgetsysstr
- qsprintf
- qstrcat
- qstrcpy
- qstrlen
- qstrncat
- qsubstr
Screen
Screen Manipulation
Player Actions
Screen Drawing
Math
Hub Maps
Unsorted
- activatebysector
- activatecheat
- addammo
- addinventory
- addkills
- addlog
- addlogvar
- addphealth
- addstrength
- addweapon
- addweaponvar
- angoff
- angoffvar
- betaname
- cactor
- cansee
- canseespr
- changespritesect
- changespritestat
- cheatkeys
- checkactivatormotion
- checkavailinven
- checkavailweapon
- clearmapstate
- clipdist
- clipmove
- clipmovenoslide
- cmenu
- count
- cstat
- cstator
- debug
- define
- definecheat
- definegamefuncname
- definegametype
- definelevelname
- defineprojectile
- defineskillname
- definevolumename
- dist
- dragpoint
- dynamicremap
- else
- endofgame
- enhanced
- fall
- findnearactor
- findnearactor3d
- findnearactor3dvar
- findnearactorvar
- findnearactorz
- findnearactorzvar
- findnearsprite
- findnearsprite3d
- findnearsprite3dvar
- findnearspritevar
- findnearspritez
- findnearspritezvar
- findotherplayer
- findplayer
- flash
- gamearray
- gamestartup
- gamevar
- getangle
- getangletotarget
- getceilzofslope
- getflorzofslope
- getincangle
- getkeyname
- getlastpal
- getpname
- getticks
- gettimedate
- getzrange
- gmaxammo
- hitradius
- hitradiusvar
- hitscan
- ifaction
- ifactioncount
- ifactor
- ifactornotstayput
- ifactorsound
- ifai
- ifangdiffl
- ifawayfromwall
- ifbulletnear
- ifcansee
- ifcanseetarget
- ifcanshoottarget
- ifceilingdistl
- ifclient
- ifcount
- ifdead
- iffloordistl
- ifgapzl
- ifgotweaponce
- ifhitspace
- ifhitweapon
- ifinouterspace
- ifinspace
- ifinwater
- ifmove
- ifmultiplayer
- ifnosounds
- ifnotmoving
- ifonwater
- ifoutside
- ifp
- ifpdistg
- ifpdistl
- ifphealthl
- ifpinventory
- ifrespawn
- ifrnd
- ifserver
- ifsound
- ifspawnedby
- ifspritepal
- ifsquished
- ifstrength
- ifwasweapon
- include
- inittimer
- insertspriteq
- killit
- ldist
- lineintersect
- lockplayer
- mikesnd
- movesprite
- neartag
- nullop
- operate
- operateactivators
- operatemasterswitches
- operaterespawns
- operatesectors
- precache
- rayintersect
- readarrayfromfile
- readgamevar
- resetactioncount
- resetcount
- resetplayer
- respawnhitag
- return
- rotatepoint
- save
- savegamevar
- savenn
- scriptsize
- sectclearinterpolation
- sectorofwall
- sectsetinterpolation
- setaspect
- setcfgname
- setdefname
- setgamename
- setgamepalette
- setsprite
- sizeat
- sizeto
- sleeptime
- smaxammo
- spriteflags
- spritenopal
- spritenoshade
- spritenvg
- spritepal
- spriteshadow
- ssp
- startlevel
- strength
- time
- tossweapon
- updatesector
- updatesectorz
- writearraytofile
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)