ScenEdit_SelectedUnits ()
This function returns a list (of name and guid) of the units (actual or contact) currently selected
Parameters
- None
Returns
table {} of
-
units
{} of multiple
- guid string
- name string
-
contacts
{} of multiple
- guid string
- name string
Example
local selected = ScenEdit_SelectedUnits( )
print(selected.units) -- list of selected units