• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece!🔗 Click here to enter!

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