This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

FlagStay: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
No edit summary
Zehra (talk | contribs)
redirected page
 
(2 intermediate revisions by 2 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>
 
To load plugin simply put: -loadplugin /path/to/flagStay.so

Latest revision as of 21:05, 18 March 2017

Redirect to: