Hi Everyone,
I would like to get help on finding a local player event....
Here what i need:
I have a map where team player share their building....
Building have the (shop_ability) wich enable friendly player to use the building ability.
The problem is that i would need to detect wich player used the ability...
if i do (owner of casting unit) it won't work because the building doesn't necessarily belong to the player who click the ability.
Actually there is no way to know wich player did it....
but since the order came from one computer, there should be a way to detect wich player activated the ability by clicking on it.
I suppose JASS is the only way to track this, but i don't know JASS, so could someone who know JASS help me?
Checking wich player selected the building is a way, but many players can select the building at same time wich wouldn't help much...
Thanks for your time...and hoping someone has the solution...
I would like to get help on finding a local player event....
Here what i need:
I have a map where team player share their building....
Building have the (shop_ability) wich enable friendly player to use the building ability.
The problem is that i would need to detect wich player used the ability...
if i do (owner of casting unit) it won't work because the building doesn't necessarily belong to the player who click the ability.
Actually there is no way to know wich player did it....
but since the order came from one computer, there should be a way to detect wich player activated the ability by clicking on it.
I suppose JASS is the only way to track this, but i don't know JASS, so could someone who know JASS help me?
Checking wich player selected the building is a way, but many players can select the building at same time wich wouldn't help much...
Thanks for your time...and hoping someone has the solution...