onEnter gets called when *any* other unit enters the radius of the trigger. so you want to test above first that the unit that is passed in is a player. you can tell if the unit is a player by it's id, the id of players is positive, all other npcs and such have negative ids. so 
```
if(unit.id > 0)
```