Category:All commands: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Jblade (talk | contribs)
 
(10 intermediate revisions by 4 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 43: Line 47:
===Procedural===
===Procedural===
*[[onevent]]
*[[onevent]]
*[[appendevent]]
*[[endevent]]
*[[endevent]]
===Subroutines===
===Subroutines===
*[[state]]
*[[state]]
*[[defstate]]
*[[ends]]
*[[ends]]
*[[prependstate]]
*[[appendstate]]
==Flow Control==
==Flow Control==
===If Components===
===If Components===
Line 58: Line 68:
===Termination===
===Termination===
*[[break]]
*[[break]]
*[[continue]]
*[[exit]]
*[[return]]
*[[return]]
*[[terminate]]
===Jump===
===Jump===
:''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 119: Line 140:
===Array Operations===
===Array Operations===
*[[getarraysize]]
*[[getarraysize]]
*[[getarraysequence]]
*[[resizearray]]
*[[resizearray]]
*[[copy]]
*[[copy]]
*[[setarray]]
*[[setarraysequence]]
===Data Saving===
===Data Saving===
*[[readgamevar]]
*[[readgamevar]]
Line 270: Line 295:
*[[lockplayer]]
*[[lockplayer]]
*[[resetplayer]]
*[[resetplayer]]
*[[resetplayerflags]]
===If===
===If===
*[[ifgotweaponce]]
*[[ifgotweaponce]]
Line 345: Line 371:
*[[ifnosounds]]
*[[ifnosounds]]
*[[setactorsoundpitch]]
*[[setactorsoundpitch]]
===Music===
===Music===
*[[music]]
*[[music]]
*[[starttrack]]
*[[starttrack]]
*[[starttrackvar]]
*[[starttrackvar]]
*[[getmusicposition]]
*[[setmusicposition]]
==Quotes==
==Quotes==
*[[definequote]]
*[[definequote]]
Line 365: Line 392:
*[[getpname]]
*[[getpname]]
*[[getkeyname]]
*[[getkeyname]]
==Cutscenes==
*[[startcutscene]]
*[[ifcutscene]]
==Screen==
==Screen==
===Screen Manipulation===
===Screen Manipulation===

Latest revision as of 09: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.