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

Difference between revisions of "Link"

From BZFlagWiki
Jump to: navigation, search
m (spelling/format)
Line 1: Line 1:
A Link is a BZW object whichs creates a link (route) between two [[teleporter|teleporters]].
+
A Link is a BZW object which creates a link (route) between two [[Teleporter|teleporters]].
 
+
Links go in hand with [[teleporter|teleporters]].
+
  
 +
Links go in hand with [[Teleporter|teleporters]].
 +
{|
 +
|
 
==Code==
 
==Code==
 
   link  
 
   link  
Line 9: Line 10:
 
     to *  
 
     to *  
 
   end
 
   end
 +
|}
 +
Valid parameters for a link are:
  
Valid parameters for a teleproter are
+
*'''from''': From what [[Teleporter|teleporters]]
 
+
*'''to''': To what [[Teleporter|teleporters]]
*'''from'''; From what teleporter.
+
*'''to'''; To what teleporter.
+
  
 
In either of the from/to parameters, "*" or "?" can be used to make multiple matches. To specify which side of the teleporter you are linking you can use the ":f" (forward) or ":b" (backward) after the name of the teleporter. Ex: tele:f
 
In either of the from/to parameters, "*" or "?" can be used to make multiple matches. To specify which side of the teleporter you are linking you can use the ":f" (forward) or ":b" (backward) after the name of the teleporter. Ex: tele:f

Revision as of 01:50, 24 March 2007

A Link is a BZW object which creates a link (route) between two teleporters.

Links go in hand with teleporters.

Code

 link 
   name example_link
   from * 
   to * 
 end

Valid parameters for a link are:

In either of the from/to parameters, "*" or "?" can be used to make multiple matches. To specify which side of the teleporter you are linking you can use the ":f" (forward) or ":b" (backward) after the name of the teleporter. Ex: tele:f

History

Editor Support

The link object is supported by all known editors.