[Solved] Item\ability problem

Status
Not open for further replies.

HADZA

H

HADZA

Hey people! Can you help me with a little problem i have here? My item ability is a rocket pad drop, that will shoot enemies automatically. Here's the trigger:
c966ee680984.jpg

Here is the thing I could not do. I have created an item, that must spawn a dummy after usage (rocket pad). Everything is going ok, except the thing, that I can't choose a target for a dummy.:goblin_boom: Item ability is acidbomb, dummy ability is clusterrockets. Tell me what to do with ??? part, so dummy will use clusterrockets on acidbomb target, please!
 
In this case, since there is no "Target unit of item being manipulated", you will have to use "Unit - A unit starts the effect of an ability" as an event and as a condition add the "Ability being cast Equal to (your dummy acidbomb)". Then, use
Set Point1 = (Position of (Target unit of ability being cast)) and order your dummy unit to cluster rockets Point1. Remove the leak:
  • Custom script: call RemoveLocation (udg_Point1)
Don't forget to swap "Hero manipulating item" with "Triggering unit".
 
Status
Not open for further replies.
Back
Top