Test
Events
Unit - A unit enters (Playable map area)
Conditions
Actions
Set Unit_Count = (Unit_Count + 1)
Set Unit_Type[Unit_Count] = (Unit-type of (Triggering unit))
Set Unit_Owner[Unit_Count] = (Owner of (Triggering unit))
This one will keep track of as many units as the size of the two arrays:Code:Test Events Unit - A unit enters (Playable map area) Conditions Actions Set Unit_Count = (Unit_Count + 1) Set Unit_Type[Unit_Count] = (Unit-type of (Triggering unit)) Set Unit_Owner[Unit_Count] = (Owner of (Triggering unit))