• 0

    posted a message on Melee unit attacking air

    I removed the "exclude air" and "required ground" from the weapon. This worked for a unit like the marauder - he can now attack air. However, when I do this to a unit like the dark templar, he still refuses to attack air. When I right click an air unit, it now just gives a red message "error". Any ideas?

    EDIT: Nevermind, figured it out. For some reason I unchecked "can initiate attack" accidentally.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Damage Bonus Question

    So here's a quick overview of what I have set up:

    An attribute called Strength that increases damages Melee: +5 Ranged: +5 Spell: +20 Splash: +2

    The ability in question is a duplicate of raynor's grenade toss from the campaign. Now, the problem is the damage effect and its scaling with different types of damages.

    If I set the damage type of the effect to Melee or Ranged, it will scale by +2 damage per point of Strength (as if it's scaling by type Splash). If I set the damage type to splash, it scales properly by +2. Now if I set the damage type to Spell, it scales properly with +20 damage per point of strength.

    So... somehow somewhere the damage scaling of melee and ranged is being overridden by splash, but the damage scaling of spell is not being overridden. Why would this happen and how can I fix it so it scales with the damage type that I want?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Respawning problems

    You can try adding every zergling you've created in that room to a unit group (a variable called zergling_room1 or something like that) and then base the conditions of your spawn event on how many units are left in that unit group.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Learning passive abilities

    I for life of me cannot figure out how to learn a passive ability. Learning abilities is covered pretty extensively in a bunch of tutorials out there - but they always conveniently use non-passive abilities. I've gotten the hang of learning non-passives, but as soon as I want to learn a passive ability it just eludes me.

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.