ironfist19
New Member
- Reaction score
- 3
hello, guys i am encountering wc3 fatal error... once i pick up an 'item' called : 'arrow'.. it crashes..
Arrow : has the abilities : AmmunitionAttack [based on orb of slow]
I don't know why...
and i have the trigger :
the thing i wanted to do : I want to make an arrow/bow [ammunition system] my style... Bow have the upgrade long rifle adds +range.. high bows have higher range.. + the arrows have the ability : orb of slow that can do the attacking...
I saw one map that a hero have no attack but if he have an item called 'attack' he can attack...
should i post the map? or no?
Arrow : has the abilities : AmmunitionAttack [based on orb of slow]
I don't know why...
and i have the trigger :
Trigger:
- AttackArrows
- Events
- Unit - A unit Is attacked
- Conditions
- (Unit-type of (Attacking unit)) Equal to Archer of Heaven
- ((Attacking unit) has an item of type Short Bow) Equal to True
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Attacking unit) has an item of type Arrow) Equal to True
- Then - Actions
- Set Ammunition = Arrow
- Item - Set charges remaining in (Item carried by (Attacking unit) of type Ammunition) to ((Charges remaining in (Item carried by (Attacking unit) of type Ammunition)) - 1)
- Else - Actions
- Floating Text - Create floating text that reads |cffffcc00You have ... above (Attacking unit) with Z offset 0.00, using font size 8.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Set the velocity of (Last created floating text) to 1.00 towards 35.00 degrees
- Floating Text - Change the lifespan of (Last created floating text) to 2.15 seconds
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
the thing i wanted to do : I want to make an arrow/bow [ammunition system] my style... Bow have the upgrade long rifle adds +range.. high bows have higher range.. + the arrows have the ability : orb of slow that can do the attacking...
I saw one map that a hero have no attack but if he have an item called 'attack' he can attack...
should i post the map? or no?