• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Spell] Shoot Abillity

Status
Not open for further replies.
you want the whole ability made or just telling HOW to do?

i Tried to do it on my own but i didn't know, what i exactly mean is that you don't have to pick a target, it automatically shoot forward and hits the first target

if you can make it and attach a file i would be glade, but if you can't just tell me how
 
Level 6
Joined
Jun 20, 2012
Messages
195
you just need to set your triggering unit's facing angle as the angle that the dummy missile will move towards(by this I mean TempReal = Facing of TriggeringUnit)..I guess you will need to have 2 Unit Groups for this, the 1st one will detect if there are units in the proximity of the dummy missile, and the 2nd Unit Group will be used to randomly pick 1 unit from the 1st UnitGroup only if there are more than 1 unit in the proximity..and that's it, you can do whatever action you want..:D
 
Here's a test map for you.
Everything can be configured, if you don't understand how it works, PM me.

By the way, a nuke which is moving at 550 movement speed (more than unit maxiumum) will hit twise a unit which is blinking and will hit countless times if the unit is moving via trigger (slidings) is there a way to fix this?
Edit: I checked the test map and realized that a nuke dies as soon as it is used, hence not creating opertunity for double damage
 
Last edited:
Wait, why would it hit many times if I kill the dummy unit and remove it from index of arrays ?
Have you actually tried the situation yet before giving feedback ?

No I haven't, but it really confused me to be given a test map for unitgroup rather then map for damage detection which was the main subjust so far...
Still, I have learned a lot from that test map!. :thumbs_up:
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Ah I got Unit Group leak, missed this;
  • Unit Group - Pick every unit in (Units within ShootDetectAOE of TempLoc) and do (Actions)
Just put the set bj_wantDestroyGroup = true above the unit group action.

Also,
No I haven't, but it really confused me to be given a test map for unitgroup rather then map for damage detection which was the main subjust so far...
I don't understand this, what are you trying to say ?
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
[...] to be given a test map for unitgroup rather then map for damage detection which was the main subjust so far...
Still, I have learned a lot from that test map!. :thumbs_up:
I think you're mistaken. This was the original post:
I Need To Know how to make a Shot ability that fires a missile forward as soon as the player clicks the icon and the bullet will hit it's first target that it will hit
And that's exactly what defskull's map does. It's no unit group/damage detection test, but a requested ability.

You did indeed start a discussion about damage detection, but all posts here are directed towards the original post, not you. Unless it uses quotes of course (like my posts :D).

Ah I got Unit Group leak, missed this;
  • Unit Group - Pick every unit in (Units within ShootDetectAOE of TempLoc) and do (Actions)
Just put the set bj_wantDestroyGroup = true above the unit group action.
(Quoted this again because it's important, don't want him the OP to miss this).
 
Status
Not open for further replies.
Top