How to change when the patrol heli flees in Rust
Type patrolhelicopterai.flee_damage_percentage 0.2 in the server console so the patrol helicopter only flees at 20% health. Default is 0.35.
patrolhelicopterai.flee_damage_percentage
Sets the health fraction at which the patrol helicopter breaks off and flees.
patrolhelicopterai.flee_damage_percentage <fraction> Examples
patrolhelicopterai.flee_damage_percentage 0.2 Flees only at 20% health.
Arguments
fractionRequired- Health share from 0 to 1.
What it does
The default 0.35 means it leaves when it is down to 35% of its health. Lower it to make the helicopter fight longer.
The game's own description: Fraction of maximum health at which the patrol helicopter will break off its attack and flee; default 0.35 (35%)
Run it on your server
Type it in the server console or send it over RCON; admins can also use the F1 console in game. To keep a setting, run server.writecfg after changing it, or put it on the launch line as +name value.
Your own
game server.
CS2, Minecraft, Palworld and more, from $0.03 an hour.