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



Introduced in

Version:3.6

Description

Description:

Returns the units that are currently inside the specified plan section.

The command can only be executed after the plan is initialized, using planViewSection, and a brief sleep:

_ctrl planViewSection [house, "Groundfloor", true]; // it does not matter which section is used here
sleep .1;
_units = _ctrl planGetUnits "Floor1";

Syntax

Syntax:control planGetUnits section
Parameters:
  • control: Control - PlanView control.
  • section: String - Name of section to check.
Return Value:Array of Unit

Examples

Examples:
_units = _ctrl planGetUnits "Groundfloor"

Additional Information

See also: planGetView
Multiplayer: 
Problems: 

Notes