This wiki is archived and useful information is being migrated to the main bzflag.org website

Define

From BZFlagWiki
Revision as of 14:04, 10 March 2007 by SpazzyMcGee (Talk | contribs) (Group Definitions)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Group Definition, or define, will group a set of objects that can be recalled and duplicated multiple times with the group object.

Define goes hand-in-hand with the group object.

Code

define my_group

  # You can put the following objects in a group definition:
  # box
  # pyramid
  # base
  # mesh
  # meshbox
  # meshpyr

enddef
#You can then recall the group with

group my_group
  shift 0 0 0
end

A more detailed description of the group installation can be found here.

Editor Support

There are currently no supported editors: group definitions are normally most useful when editing by hand.

History

The group definition object was added with the v2.0.0 release of BZFlag.