OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Crackbone on 11 Aug 2005, 02:46:32

Title: Weapon-preference for crewmen?
Post by: Crackbone on 11 Aug 2005, 02:46:32
Hello,

Is it possible to set it so that crewmen of vehicles with weapons choose a weapon depending on the type of threat that is encountered?

For example, is it possible to set it so that the commander of a BMP-2 commands his gunner to choose the 30-mm HE-round to fire at infantry and the 30-mm AP round at enemy tanks?

Thanks
Title: Re:Weapon-preference for crewmen?
Post by: penguinman on 15 Aug 2005, 21:35:38
ya probably because the BIS vehicles do it, dont know how though
Title: Re:Weapon-preference for crewmen?
Post by: Kyle Sarnik on 08 Sep 2005, 04:22:30
ya probably because the BIS vehicles do it, dont know how though

Are you sure? I never noticed that they did... Anyways, AI will automatically choose the best weapon suitable depending on the type of the threat  its range, however, this only works for the magazine that the AI currently have loaded. AI will NEVER reload magazines unless they are empty, so I would say the only way to get them to do this is through scripting.