- Joined
- Mar 27, 2008
- Messages
- 8,035
Hey there 
I'm doing a Page System for my shop which activates from a Spellbook Ability
So, whenever a unit goes to the second page (clicks on the spellbook), all icons there are ABILITIES instead of ITEMS
I want to give items correctly to the player that ACTIVATES the ability from the Merchant Shop
I can't use Owner of (Triggering unit) because that will refer to THAT shop, not the buying unit
So, I want any script/action that detects which player activates the ability from that shop
I based it on Roar ability
Unit A presses Roar ability = Gains Blades of Attack
I'm doing a Page System for my shop which activates from a Spellbook Ability
So, whenever a unit goes to the second page (clicks on the spellbook), all icons there are ABILITIES instead of ITEMS
I want to give items correctly to the player that ACTIVATES the ability from the Merchant Shop
I can't use Owner of (Triggering unit) because that will refer to THAT shop, not the buying unit
So, I want any script/action that detects which player activates the ability from that shop
I based it on Roar ability
Unit A presses Roar ability = Gains Blades of Attack