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

Difference between revisions of "FlagStay"

From BZFlagWiki
Jump to: navigation, search
(redirected page)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
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.
+
#REDIRECT [[Plug-ins]]
<nowiki>
+
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</nowiki>
+

Latest revision as of 21:05, 18 March 2017

Redirect to: