Sorry for the last reply !
Hmm there are many solutions for this. I would suggest this :
- First you create a region in where Lions are created. And create another region in where tigers are created, then create a big region around the forest ( No problem if it goes out of forest , no problem just create a big only one )
Do this ( Tell me when it doesn't work , i will give u another solution ) :
Events
Map Initialization
Conditions
Actions
Set Big_Jungle = (Region Jungle -gen-)
Set Tigers_Camp = (Region Tigers -gen-)
Set Lions_Camp = (Region Lions -gen-)
Set Tigers_Target = (Center of Region Lions -gen-)
Set Lions_Target = (Center of Region Tigers -gen-)
Attack each other
Events
---- Any event you want ----
Conditions
Actions
Set Tigers_Group = (Every Unit in Big_Jungle Region of type Tiger)
Set Lions_Group = (Every Unit in Big_Jungle Region of type Lion)
Unit Group - Pick Every Unit in Tigers_Group and do multiple actions :
Loop - Actions
Unit - Order (Picked Unit) to Attack-Move to Tigers_Target === That means it will move to the lions spawning camp, if tigers find any one in the road , tigers will attack him, if not, they will move directly to lions camp)
Unit Group - Pick Every Unit in Lions_Group and do multiple actions :
Loop - Actions
Unit - Order (Picked Unit) to Attack-Move to Lions_Target === That also means lions will attack every tiger in the way
Custom script: call DestroyGroup(udg_Tigers_Group)
Custom script: call DestroyGroup(udg_Lions_Group)
This means all tigers will fight lions because they will meet in the way ... but first you should make them enemies. You should make them treat each other as enemies, because Neutral Passive won't attack Neutral Passive. :/
It's more complicated if you want two neutral passive unit-types attack each other.
Question : Why do you want them both Neutral passive ?