How list units in a given plot

Paolo80

Chieftain
Joined
Dec 20, 2019
Messages
85
Hi guys,

I'm looking for a python function that lists all units in a given plot. Does it exist? I've found the function getUnitList in PyHelpers.py which lists all player's units. Is there a similar function to do this for a given plot?
 
Something like,
Code:
for i in range(pPlot.getNumUnits()):
    pLoopUnit = pPlot.getUnit(i)
 
Back
Top Bottom