So, if i want to prevent my unit from start burning, this script hook will not help me?
This script can help you.
But instead of using setFire yourself, you should just set the value of the output parameter(s) that will then call setFire for you.
What you're doing now:
1. game calculates duration of fire to be for example X = 7
2. you call setFire 0
3. game calls setFire X (7)
What you should be doing instead:
1. game calculates duration of fire to be for example X = 7
2. you change X from 7 to 0
3. game calls setFire X (0)
Then as i understand, ignition of units standing in fire is hardcoded?
yes, Yankes said above that the catching on fire from environment is not scripted yet
only hits by projectiles and explosions are scripted
you can still make the armor fire-proof, and the unit will not catch on fire then