Reposting this from the Artist tavern. I'm currently trying to show an actor on a unit when the event Ability.(ability).Cursor fires, the event used for cursor-splats for aoe abilities. Whenever I try I get the message:
"Must use Implicit Scope keyword when requestor was not created by an effect"
I guess it means it can't find the caster unit like it usually does because of the nature of the cursor-ability step, but is there a way to refer to my casting unit from this position?
to my knowledge the only way to hide mouse cursor is with triggers but triggers do not know such an event.
you could put an areaquery infront of your effect to search for a unit of type but i have doubts that this gonna work out.
as i said, Event: ability.cursor action: create TreeBurnQuery (example actor which will find burnable trees, adjust it to look for the unittype of caster)
Following the guide I manged to make a query in a circle around my unit, targetting units around it. However I'm unable to figure out the following, despite alot of time spent trying:
-Making the query target the "query director", eventhough I tried changing both the scope and/or query target
-Getting the query or any actor to run of the Ability.Cursor event
So for now I'm stuck, I'm hoping someone can fill in the few blanks I'm drawing.
Hey,
Reposting this from the Artist tavern. I'm currently trying to show an actor on a unit when the event Ability.(ability).Cursor fires, the event used for cursor-splats for aoe abilities. Whenever I try I get the message:
"Must use Implicit Scope keyword when requestor was not created by an effect"
I guess it means it can't find the caster unit like it usually does because of the nature of the cursor-ability step, but is there a way to refer to my casting unit from this position?
Thanks in advance
to my knowledge the only way to hide mouse cursor is with triggers but triggers do not know such an event.
you could put an areaquery infront of your effect to search for a unit of type but i have doubts that this gonna work out.
Alright, I'll edit that out my post and just scrap the idea then.
Does anyone have any idea how to find the "casting" unit from a ability.cursor event in the actor?
as i said, Event: ability.cursor action: create TreeBurnQuery (example actor which will find burnable trees, adjust it to look for the unittype of caster)
For anyone with the same issue, I've found a great guide on queries at:
http://www.sc2mapster.com/forums/resources/tutorials/60079-actors-actor-regions-queries-and-query-response-actors/
does it work?
I've yet to implement it, i'll report back when I put it in with a brief description of what I did.
Following the guide I manged to make a query in a circle around my unit, targetting units around it. However I'm unable to figure out the following, despite alot of time spent trying:
-Making the query target the "query director", eventhough I tried changing both the scope and/or query target
-Getting the query or any actor to run of the Ability.Cursor event
So for now I'm stuck, I'm hoping someone can fill in the few blanks I'm drawing.