you need two triggers: 1. unit is issued an order --> if order == searingarrows (or something) then set YourBooleanVar = true if order == unsearingarrows then set YourBooleanVar = false
2. unit is attacked condition - YourBooleanVar == true ...and do what u want