ZScript features

From ZDoom Wiki
Jump to navigation Jump to search

ZScript has and will continue to expand with a vast number of features.

Current

The following are now present in GZDoom 3.0:

  • DECORATE compatibility
  • Auto-cast typing constant variables
  • String constants
  • Name constants
  • Local variables (known as user variables in DECORATE)
  • Ability to define and manipulate custom actor pointers
  • Custom functions
  • Arrays
  • Map data access (and partial control)
  • Weapon/CustomInventory variables

invoker.varnamehere target.A_ChangeVelocity(...)

  • Dynamic arrays
  • Custom menu definition
  • SBARINFO replacement

See also