Hey guys i have been searching on forums and i know my problem is infinite loop but i still cant fix it (still crashing the game) can someone help me?
Thanks!
edit:Im using damage detection system but maybe im using it in a wrong way?
Thanks!
edit:Im using damage detection system but maybe im using it in a wrong way?
-
DUAL WIELD
-
Events
- Unit - A unit Is attacked
-
Conditions
- (Level of Dual Wield for (Attacking unit)) Equal to (==) 1
- (Unit-type of (Attacking unit)) Equal to (==) Ninja
-
Actions
- Set Ninja_Unit = (Attacking unit)
- Set TargetUnit = (Attacked unit)
- Sound - Play MetalHeavySliceFlesh2 <gen> at 100.00% volume, attached to Ninja_Unit
- Sound - Destroy (Last played sound)
- Trigger - Turn off (This trigger)
- Trigger - Turn on DAMAGE <gen>
-
Events
-
DAMAGE
-
Events
- Game - GDD_Event becomes Equal to 0.00
- Conditions
-
Actions
- Unit - Cause Ninja_Unit to damage TargetUnit, dealing GDD_Damage damage of attack type Normal and damage type Normal
- Trigger - Turn off (This trigger)
- Trigger - Turn on DUAL WIELD <gen>
-
Events