• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

archery system???

Status
Not open for further replies.
Level 4
Joined
Mar 27, 2009
Messages
66
is there a archery system done in gui for using an item?

like say i have a bow in my inventory...i click the bow..click a spot..the arrow will shoot straight and hit anything in it's path.
 
Level 9
Joined
Aug 21, 2008
Messages
533
Simple way:
Give the item a abilty based on shokwave and change the missle to a arrow

Harder way:
Give the item a abilty based on healing ward change the unit to a invisible dummy.
Then you have to use a knockbacks system.
When someone use the spell you create a dummy unit which have the modelfile of a arrow and send it to the point with the knockback system. Everytime the system pulls the arrow you chek if a unit is nearby. If one is nearby damage it and then kill the arrow dummy(or not if you likr it to go further but then i would suggest the simple way)
 
Status
Not open for further replies.
Top