FlagStay

From BZFlagWiki
Revision as of 01:54, 8 February 2009 by Ha You Got Shot By Me (Talk | contribs) (New page: The FlagStay plugin allows a mapmaker to specify the zone where he/she wants the flag to be. This is similar to a regular zone but with this FlagStayZone the flags that are put in the zone...)

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

The FlagStay plugin allows a mapmaker to specify the zone where he/she wants the flag to be. This is similar to a regular zone but with this FlagStayZone the flags that are put in the zone may not leave the zone. This plugin may be useful so a player won't take a Guided Missile flag out of a tower. Or a ShockWave flag can't be taken into a Base and camp there. To define the FlagStayZone use the examples below.

For a box that goes from +- 10 in X, +- 20 in Y, and 0 to 30 in Z that keeps GM and SW

FlagStayZone bbox -10 10 -20 -20 0 30 Flag GM Flag SW end

For a cylinder that centered at X 10 Y 20 that goes from Z 0 to Z 10 with a radius of 100.

FlagStayZone cylinder 10 20 0 10 100 Flag GM Flag SW end