- Joined
- Jan 17, 2019
- Messages
- 163
Can someone tell me what I am missing in this trigger? I've tried switching between (Matching unit) and (Picked unit) but I can't get any response in game. The trigger simply makes Phantasms turn hostile when a hero casts a spell near it.
Imgur
Scream of the Phantasm
Events
Unit - A unit Starts the effect of an ability
Conditions
((Casting unit) belongs to an enemy of Player 9 (Gray).) Equal to True
Actions
Unit Group - Pick every unit in (Units within 500.00 of (Position of (Casting unit)) matching ((Unit-type of (Matching unit)) Equal to Phantasm).) and do (Actions)
Loop - Actions
Unit - Make (Matching unit) Vulnerable
Unit - Change ownership of (Matching unit) to Player 9 (Gray) and Retain color
Unit - Move Banshee Whisper Dummy 0641 <gen> instantly to (Position of (Matching unit))
Unit - Order Banshee Whisper Dummy 0641 <gen> to Neutral Dark Ranger - Silence (Position of (Matching unit))
Wait 2.00 seconds
Unit - Move Banshee Whisper Dummy 0641 <gen> instantly to (Center of Region 512 <gen>)
Imgur
Scream of the Phantasm
Events
Unit - A unit Starts the effect of an ability
Conditions
((Casting unit) belongs to an enemy of Player 9 (Gray).) Equal to True
Actions
Unit Group - Pick every unit in (Units within 500.00 of (Position of (Casting unit)) matching ((Unit-type of (Matching unit)) Equal to Phantasm).) and do (Actions)
Loop - Actions
Unit - Make (Matching unit) Vulnerable
Unit - Change ownership of (Matching unit) to Player 9 (Gray) and Retain color
Unit - Move Banshee Whisper Dummy 0641 <gen> instantly to (Position of (Matching unit))
Unit - Order Banshee Whisper Dummy 0641 <gen> to Neutral Dark Ranger - Silence (Position of (Matching unit))
Wait 2.00 seconds
Unit - Move Banshee Whisper Dummy 0641 <gen> instantly to (Center of Region 512 <gen>)