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

Ammo System

Status
Not open for further replies.
Level 1
Joined
Sep 17, 2010
Messages
1
Hello, members of the Hive.

I am in a process of making a fairly simple map with a few twists.

I've never played online, so I don't really know the level of creativity, but here goes:

I want to make a system to use Mana as ammunition/fuel. Ground units will use Mana to attack, and air units will need mana to stay flying (destroyed if mana is depleted).

The problem is I only got the trigger to work when a player issues the attack order... not per shot, but per order. Also I haven't found a trigger to make the system prevent a unit from attacking if mana is zero. (Naturally still no way to kill the airplanes when mana equals zero...)

Thanks in advance.
 
Status
Not open for further replies.
Top