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

Help with in-game animations (effects)

Status
Not open for further replies.
Level 3
Joined
Jul 2, 2007
Messages
42
Ive seen some games use effects for guns and i would like to know how do i attach the muzzle fire effect to the gun when a unit attacks.

I think if u do the trigger below, it may have some leaks.

rifleman
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Rifleman
Actions
Unit - Add (custom skill with effect) to (Attacking unit)

then u just remove it if he doesnt attack....HOWEVER , if the unit missle would be slow if i want to show the projectile... wouldnt the effect be "lagging" behind maybe lets say... 1 second???

How do i make a trigger to do that? If you guys have JASS to do this , could you show it to me? ( teach me how 2 do use it too , im 0% good with JASS)
 
Status
Not open for further replies.
Top