M32 script commands

From EDukeWiki
Revision as of 08:34, 20 September 2009 by 217.83.43.236 (talk) (minor edit)
Jump to navigation Jump to search

Mapster32 Scripting M32 script commands M32 script variables


This is a categorized list of every command in Mapster32-script.

Legend:
I: acts on current sprite, S: acts on current sprite by pointer (also valid in "for i drawnsprites")
i: sets current sprite, s: only sets current sprite by pointer
D: differs from CON, X: deprecated/do not use (yet)
var/array/special: must be writable, [something]: optional command field

basic commands

control flow

struct access (redundant, except tspr)

arrays

var commands

varvar commands

math commands

special commands

  • Sort array count [comparison_state]
  • For itervar what [what2]

valid iteration types (what):

  • allsprites i, allsectors, allwalls, selsprites i, selsectors, selwalls, drawnsprites s
  • spritesofsector sector | i, loopofwall wall, wallsofsector sector, range num

var if* and while* commands

varvar if* and while* commands

other if* commands

BUILD functions

debugging commands

quote commands

findnear* (not tested)

misc. commands

current sprite commands

drawing commands

used in EVENT_DRAW2DSCREEN
used elsewhere