Page tree
Skip to end of metadata
Go to start of metadata



Version:1.00
Description:The editor draws a line between the two specified editor objects.
Syntax:map drawLink [from, to, param type, line_type, color, arrow_scale]
Parameters:
  • map: Control - The map.
  • from: Editor Object - Editor object from which the line is drawn.
  • to: Editor Object - Editor object to which the line is drawn.
  • param type: String - Identifier to be used in removeDrawLinks (for example, "NEXTTASK", "PARENT" or "TRIGGER").
  • line_type: String - "ARROW" or "LINE".
  • color: Color - Line color.
  • arrow_scale: Number - 0-1 (optional).
Return Value:Nothing
Examples:
_map drawLink [_obj1, _obj2, "PARENT","LINE",[0,0,0,0.5],0.8];
See also: removeDrawLinks
Multiplayer: 
Problems: