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
(New page: A Link is a BZW object whichs creates a link (route) between two teleporters. ==Code== link name example_link # this will link all teleporters randomly to all o...)
 
Line 3: Line 3:
 
==Code==
 
==Code==
 
   link  
 
   link  
     name example_link  
+
     name example_link
    # this will link all teleporters randomly to all other teleporters
+
 
     from *  
 
     from *  
 
     to *  
 
     to *  

Revision as of 00:59, 24 March 2007

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

Code

 link 
   name example_link
   from * 
   to * 
 end

Valid parameters for a teleproter are

  • 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

History

Editor Support

The link object is supported by all known editors.