- Joined
- Feb 2, 2006
- Messages
- 1,630
Based on the ability 'Aall' I want to provide abilities from NPC units which allow interaction with the NPCs.
I think that the same is used in Gaias ORPG to activate quests. I've added an 'Aall' based ability to the NPC and a channel based ability called "Talk to the NPC".
When I am getting near the NPC which is owned by an allied player I am able to cast the ability after selecting the NPC.
Unfortunately I cannot detect the ordering player with GetTriggerPlayer(). It does always return the NPC's owner. Is there any way to achieve this?
The greate benefit would be that I do not have to give may character more abilities for interaction but can use the abilities of the NPCs. From discussions with other mappers I got the suggestion to use a unit per player or something like this as workaround.
Any idea what would be the best way to achieve what I want?
I think that the same is used in Gaias ORPG to activate quests. I've added an 'Aall' based ability to the NPC and a channel based ability called "Talk to the NPC".
When I am getting near the NPC which is owned by an allied player I am able to cast the ability after selecting the NPC.
Unfortunately I cannot detect the ordering player with GetTriggerPlayer(). It does always return the NPC's owner. Is there any way to achieve this?
The greate benefit would be that I do not have to give may character more abilities for interaction but can use the abilities of the NPCs. From discussions with other mappers I got the suggestion to use a unit per player or something like this as workaround.
Any idea what would be the best way to achieve what I want?