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



Introduced in

Version:3.6

Description

Description:

Selects the given unit on a planView control.

Only one unit can be selected on a plan, and it is indicated by a pulsing icon.

Units can also be selected by left-clicking them on the plan. That action can be responded to, using the VBS User Interface Event Handlers.

Syntax

Syntax:control planSelect unit
Parameters:
  • control: Control - PlanView control.
  • unit: Object - Unit to select. If objNull, then any previously selected unit is unselected.
Return Value:Nothing

Examples

Examples:
_ctrl planSelect soldier1

Additional Information

See also: planGetUnits, VBS User Interface Event Handlers
Multiplayer: 
Problems: 

Notes