I've got a neutral unit, which functions as a portal. How would I make some ability which would allow a unit to right click it, walk to it, and activate something I could detect with a trigger? (I dont want it to be comes within range)
Greetings, for something like this i would use an interact ability set to share control and a dummy ability that can be detected by triggers. basically the play would get temporary control of the portal and can issue an order to it to use the dummy ability and then triggers can do the rest, i would suggest a Behavior type ability with a dummy behavior that times out after do long this would automatic turn off the dummy ability and allow it to be cast again. atleast from what i know of the editor before the 3.0 patch.
Edit: Ive been thinking about this some more and it could be possible to use an ability that uses and issue order effect on the target to order the portal to active when used on it by the acting unit. you might even be able to use a generic behavior ability and behavior to set off the triggers. that way you can use the same buff and ability to activate different objects via triggers.
I've got a neutral unit, which functions as a portal. How would I make some ability which would allow a unit to right click it, walk to it, and activate something I could detect with a trigger? (I dont want it to be comes within range)
Greetings, for something like this i would use an interact ability set to share control and a dummy ability that can be detected by triggers. basically the play would get temporary control of the portal and can issue an order to it to use the dummy ability and then triggers can do the rest, i would suggest a Behavior type ability with a dummy behavior that times out after do long this would automatic turn off the dummy ability and allow it to be cast again. atleast from what i know of the editor before the 3.0 patch.
Edit: Ive been thinking about this some more and it could be possible to use an ability that uses and issue order effect on the target to order the portal to active when used on it by the acting unit. you might even be able to use a generic behavior ability and behavior to set off the triggers. that way you can use the same buff and ability to activate different objects via triggers.