- Joined
- Sep 29, 2008
- Messages
- 672
is there a system/code that detects when a unit launches the attack? not the "unit - is attacked" event but unit attacks when it releases the damage also not the even "unit - takes damage".
Imo 'Unit is attacked' would best fit your needs, altho this event is commonly known to bug. For example, you can order the unit to attack, trigger detects this and fires, but then you order your unit to stop. Actual attack didn't take place, but the trigger will still run. You would need to do some bulletproofing to prevent exploiting.i meant when the attack is launched exactly. like a ranged attacker first launched it's projectile and still didn't deal damage.
when it releases the damage
Something's wrong here...first launched it's projectile and still didn't deal damage.