Looking for this I need

need the unit that attack other player but not attack owner player(who create unit from item)
All player is same player types
sensor range is 400

(edited: smh my head)

could you explain further? is the unit an AI unit?

yes it an AI unit sooo

you could make a script for when units enter the AI unit’s sensor. if the unit is owned by a different player then make the AI unit attack the triggering unit

( simple version)

go in entity script
if unit enter sensor of unit trigger
if triggering unit owner =/ selected entity owner
make unit move to position of triggering unit
make unit use item

anyway I need
when player died then make player’s camera track to random other player