Shooting

S

Starlite

Guest
Okay, I have this friend that is really into war games, and he wants to know how you can just click a button and have a missile go straight in front of the person of the clicked unit.
 
A

AddE

Guest
In WC3 or what? :p

EDIT: Coz if it is, just make a ability based off Shockwave but change the Missile Model.
 
S

Starlite

Guest
yes a warcraft 3 game of the revolutionary war....

but he doesnt want to have to click at the target he wants to shoot at...
 
S

Starlite

Guest
will that really fire straight in front of you every time?
 
A

AddE

Guest
Do'h! :)

I'll test it for ya, hang on a sec.

EDIT: Didnt work for me :(. Maybe I did something wrong?

EDIT 2 : The problem is that it still shoots 2 missiles.
 
S

Starlite

Guest
well the knives, they come out randomly so they should either be invisible, not there, or coem out at odd direction.
 

Faction

New Member
Reaction score
1
lol

im the friend! i want it so that when i have a unit use a specific ability, it shoots a projectile in the direction the unit is facing, shockwave wouldnt work because you have to chose a target and it also has an AoE
 

Faction

New Member
Reaction score
1
e

still have to choose a target, i want it to automatically shoot when you press the hotkey of the ability
 
A

AddE

Guest
Yeah. Can't you come up with any ability shooting something instantly?

I'll just help modifying it.

EDIT: Ah, wtf just figured out that you can maybe do it in triggers. Lol a little after.
 
S

Starlite

Guest
uhm... you can try all you want.... it wont work, theres no way to get a direction (maybe in jass) and no command telling it to shoot forward.
 
S

Starlite

Guest
you could try, no direction condition, and no way to make it cast forward unless there is a direction condition.....

unless they added some action i dont know about.
 
A

AddE

Guest
Hmm try something like this:

Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Fan of Knives
Actions
Unit - Create 1 Dummy for (Owner of (Casting unit)) at (Center of (WhereYouWant)) facing (Position of (WhoYouWant))
Set DUMMY = (Last created unit)
Unit - Order (Casting unit) to Stop
Unit - Order DUMMY to Orc Far Seer - Chain Lightning SomeUnit



So you get a picture? Do something like that.


EDIT: And afterwards you remove the Dummy of course.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top