PDA

View Full Version : helicopters engagement height



tomolyons
Dec 29 2011, 23:54
hi all. i was just wondering if there is a way to change the height of which attack helicopters engage at? because the height is way to low to be engaging targets for my liking.

I know the "flyinheight" script but it doesnt seem to work in combat. im wonderin if a script is hardcoded in an Arma 2 Pbo or something

thanks

Acelondoner
Dec 31 2011, 00:30
I'm no scripter or anything but how about this?

Trigger:



cond
((getPos (helinamehere) select 2) < 100)

on act
helinamehere disableAI "TARGET"; helinamehere disableAI "AUTOTARGET";


and then another



cond
((getPos (helinamehere) select 2) > 100)

on act
helinamehere enableAI "TARGET"; helinamehere enableAI "AUTOTARGET";


The "100" represents the height.

Not sure if it would work but it looks like it should:p