• 🏆 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!

a little help?

Status
Not open for further replies.
Level 5
Joined
Oct 13, 2005
Messages
120
ok, simple question


is there a way to make it so that a unit doesnt always hit. maybe an ability or a trigger? so like, it has a 50% acuracy rating or something anyone at all know how to do that?
 
Level 6
Joined
Feb 18, 2005
Messages
263
there are two ways of doing so.

1st
add an 'critical hit' or 'bash' skill to the unit, with no effect except to reduce the damage to 0 if it succeds.
that way you can directly control how bad it is at aiming - but you have a whoel bunch of 0s showing up above the unit.

2nd
give every unit a 100% evade.
give the unit a 'critical hit' or 'bash'. Enable the 'allways hit' for it. Edit it so it does have no effect (100% damage, no bonus). Now the chance for it to happen is the chance for the unit to hit - and the damage it does is showed in red above its head while 'missed' is shown whenever it misses...

pick one - there might be more ways (like dummy-casting the spell that couses a unit to miss on it, or stuff like that) but out of the experience i got in mapping i would say that these two are the best once and the second one is the nicier one, even though it is more work to be done (and individual evades are not possible...)

whatever - i hope this helpes you thinking about the problem ^^
 
Level 5
Joined
Oct 13, 2005
Messages
120
i like your first way... and i think there is a way to change the 0's in game play constants or something. Its like "Show damage numbers - yes" and i can just change it to no... so, the 0's wont be a problem. thnx a bunch
 
Status
Not open for further replies.
Top