I was wondering how to destroy units owned by a different player in the same region as the unit manipulating an item?
My main problem is checking that the units being in the same region any suggestions?
It seems like we're just confusing you even more
Well, what he mean is: did you create the region with the trigger editor, or did you create it with your Terrain Editor?
(Preplaced means if it was placed before the map was started)
But I think I understand you, and the trigger you might want to use, looks like this:
Untitled Trigger 001
Unit - A unit Acquires an item
(Item-type of (Item being manipulated)) Equal to Tome of Experience
Set TempUnitGroup = (Units in Region 000 <gen>)
Unit Group - Pick every unit in TempUnitGroup and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Owner of (Picked unit)) is an enemy of (Owner of (Triggering unit))) Equal to True