Category:All commands: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Jblade (talk | contribs)
 
(8 intermediate revisions by 3 users not shown)
Line 21: Line 21:
*[[definegamefuncname]]
*[[definegamefuncname]]
*[[definegametype]]
*[[definegametype]]
*[[definevolumename]]
*[[definevolumeflags]]
*[[definelevelname]]
*[[definelevelname]]
*[[defineskillname]]
*[[defineskillname]]
*[[definevolumename]]
*[[undefinevolume]]
*[[undefinelevel]]
*[[undefineskill]]
===If===
===If===
*[[ifrespawn]]
*[[ifrespawn]]
Line 48: Line 52:
===Subroutines===
===Subroutines===
*[[state]]
*[[state]]
*[[defstate]]
*[[ends]]
*[[ends]]
*[[prependstate]]
*[[appendstate]]
==Flow Control==
==Flow Control==
===If Components===
===If Components===
Line 60: Line 68:
===Termination===
===Termination===
*[[break]]
*[[break]]
*[[continue]]
*[[exit]]
*[[return]]
*[[return]]
*[[terminate]]
===Jump===
===Jump===
:''Note: Jumping commands are deprecated and will not be supported with Lunatic. Use [[#Loops|loops]] instead.''
:''Note: Jumping commands are deprecated and will not be supported by Lunatic. Use [[#Loops|loops]] instead.''
*[[getcurraddress]]
*[[getcurraddress]]
*[[jump]]
*[[jump]]


===Loops===
===Loops===
*[[whilevarl]]
*[[whilevarvarl]]
*[[whilevare]]
*[[whilevarn]]
*[[whilevarn]]
*[[whilevarvarn]]
*[[whilevarvarn]]
:''It is also possible to loop by calling a state from within itself.''
==Game Variables==
==Game Variables==
*[[gamevar]]
*[[gamevar]]
Line 123: Line 140:
===Array Operations===
===Array Operations===
*[[getarraysize]]
*[[getarraysize]]
*[[getarraysequence]]
*[[resizearray]]
*[[resizearray]]
*[[copy]]
*[[copy]]
*[[setarray]]
*[[setarraysequence]]
===Data Saving===
===Data Saving===
*[[readgamevar]]
*[[readgamevar]]
Line 274: Line 295:
*[[lockplayer]]
*[[lockplayer]]
*[[resetplayer]]
*[[resetplayer]]
*[[resetplayerflags]]
===If===
===If===
*[[ifgotweaponce]]
*[[ifgotweaponce]]
Line 349: Line 371:
*[[ifnosounds]]
*[[ifnosounds]]
*[[setactorsoundpitch]]
*[[setactorsoundpitch]]
===Music===
===Music===
*[[music]]
*[[music]]
*[[starttrack]]
*[[starttrack]]
*[[starttrackvar]]
*[[starttrackvar]]
*[[getmusicposition]]
*[[setmusicposition]]
==Quotes==
==Quotes==
*[[definequote]]
*[[definequote]]
Line 369: Line 392:
*[[getpname]]
*[[getpname]]
*[[getkeyname]]
*[[getkeyname]]
==Cutscenes==
*[[startcutscene]]
*[[ifcutscene]]
==Screen==
==Screen==
===Screen Manipulation===
===Screen Manipulation===

Latest revision as of 10:02, 7 January 2024

EDuke32 Scripting

Preprocessor

Meta-Settings

If

Global Settings

Block Delimiting

Object-Oriented

Procedural

Subroutines

Flow Control

If Components

Switch

Termination

Jump

Note: Jumping commands are deprecated and will not be supported by Lunatic. Use loops instead.

Loops

It is also possible to loop by calling a state from within itself.

Game Variables

Gamevar Operators

Gamevar Conditions

Math Operations

Array Operations

Data Saving

Structure Access

Actors

Structures

If

Commands

Measurements

Surroundings

Commands

If

Mapping Features

Player Interaction

Spawning

Materials

Projectiles

Player

Commands

If

Sectors

Operating

Manipulation

Analysis

Discovery

Searching

Sorting

Audio

Sounds

Music

Quotes

Cutscenes

Screen

Screen Manipulation

Player Actions

Screen Drawing

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.

E

G

I

P

S