K, first off I know I shouldn't have put it here, but only moderators can create a forum in the tutorial section (I joined 2day so I know theres prolly either somewhere else I should have posted it).
K I have three questions:
1: How do you detect damage/ store it as a variable (also attack speed but wtvr)? do you have to do this?:
Events:
A unit is attacked
Actions:
Set (BeforeHitPoints) = Current Hit Points of attacked unit
wait 1 second
Set (AttackDamage) = (BeforeHitPoints) - (Current hitpoints of attacked unit)
I Don't think tihs is very effective because chanelling spells and such can damage the targeted unit in tht 0.5 seconds so that it wont be a correct value, and also 0.5 seconds isn't the cooldown of all units.
2: How do you create a running shot?
I don't know how 2 create a running shot that keeps the running unit's running animation active, and i don't know how to (see q1). Since I think that you have to somehow store the damage variable, I don't know how to make this. The only thing I do know is how to lock the body part facing so it looks like the attacking unit is actually aiming at the attacked unit.
3: Lol, this is really basic, and I'm just 2 lazy 2 use a trigger + I don't think it's neccasary but: How do you target a tree?
How do you target (not just splash damage a tree) a tree without triggers, and without editing the tree so it is either selectable, and is not a unit?
I appreciate any help, as I personally believe that I don't suck at mapmaking, I just don't know some basic things. thx
K I have three questions:
1: How do you detect damage/ store it as a variable (also attack speed but wtvr)? do you have to do this?:
Events:
A unit is attacked
Actions:
Set (BeforeHitPoints) = Current Hit Points of attacked unit
wait 1 second
Set (AttackDamage) = (BeforeHitPoints) - (Current hitpoints of attacked unit)
I Don't think tihs is very effective because chanelling spells and such can damage the targeted unit in tht 0.5 seconds so that it wont be a correct value, and also 0.5 seconds isn't the cooldown of all units.
2: How do you create a running shot?
I don't know how 2 create a running shot that keeps the running unit's running animation active, and i don't know how to (see q1). Since I think that you have to somehow store the damage variable, I don't know how to make this. The only thing I do know is how to lock the body part facing so it looks like the attacking unit is actually aiming at the attacked unit.
3: Lol, this is really basic, and I'm just 2 lazy 2 use a trigger + I don't think it's neccasary but: How do you target a tree?
How do you target (not just splash damage a tree) a tree without triggers, and without editing the tree so it is either selectable, and is not a unit?
I appreciate any help, as I personally believe that I don't suck at mapmaking, I just don't know some basic things. thx