ok i've got this trigger but the problem is I need this to happen once per players hero meaning they can only recieve this scroll of town portal once. If they change ownership again it does not give them the scroll of town portal again. This is for 12 hero 1 per player by the way
Trigger:
- Moving of heroes to base
- Events
- Unit - A unit Changes owner
- Conditions
- ((Triggering unit) is A Hero) Equal to True
- Actions
- Unit - Move (Triggering unit) instantly to ((Triggering player) start location), facing Default building facing degrees
- Hero - Create Scroll of Town Portal. and give it to (Triggering unit)
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Camera - Reset camera for (Picked player) to standard game-view over 0.00 seconds
- Loop - Actions
- Events