• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Shooting Ability

Status
Not open for further replies.
Level 6
Joined
Aug 19, 2007
Messages
109
In game such as Elimination Tournament and Counterstrike assault/normal there is a "shoot" ability. I have searched the Hive and can't seem to find how you do it i know there has to be triggers involved but I also want the ability to be in GUI (coz im lazy and can't read JASS) could someone please help me find an example in a map? or maybe fix how i tried doing it in my map.

In my map:
-bullet sometimes stops moving for no reason.
-bullet unit is selectable (i want to make it like a doodad, you cant select it)

Please check triggers and tell me the problem. :wthumbsup:
 

Attachments

I haven't looked at your triggers yet but if you add the locust ability to the bullet unit it will become unselectable. Give me a while to look over your triggers and I'll try to help further.
 
ok I've just looked and I have no idea why that happens! It's not your triggering thats the problem. You could manually move the bullet through a periodic timer, but that in GUI would lag, so I'm sorry but I think your only real solution is JASS.
 
I have a good solution, here is a projectile system developed by some guy called "Mini-Me" of my former clan cbs (I think i was kicked for in-activity, i wasnt really active :P).

Heres the link its in the site. He made it easily customizable for GUI users, where you can easily set the distance, speed, lasting time, check pathability and other things with one GUI line trigger (Custom script, very easy to configure)

Only problem you might find is that the Script uses a "Remove" unit function. And originally does not deal any damage. And i dont believe there is a GUI function with "A unit is removed" as an event. So you'll have to play around with it on that part (A suggestion, if i may, add immolation to a unit, that will cause it to kill the bullet projectile.)

http://www.clancbs.com/board/showthread.php?p=29884#post29884
 
coz im lazy and can't read JASS
I wouldnt suggest starting with stuff like this if you arent good with JASS.
Stuff like this is mostly for highly skilled JASS'ers!
Btw if you want some real shit use either one of these systems: Vector System By Anitarf
Mad[lion]'s Mados (The one used in Mad Balls Arena, but alot simpler and better and advanced made)
Btw im not sure if the system by Mad on CBS is the latest version, but if you want it i suggest u send a PM to anonimes aka klauth or whats his name here on Hive (his Bnet name on europe is: Pedrokhan[SanD])
 
Status
Not open for further replies.
Back
Top