OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Crowey on 04 Feb 2009, 15:07:27

Title: AI random Rearm
Post by: Crowey on 04 Feb 2009, 15:07:27
Hi is there a simple code i can use in either a trigger or a waypoint to make unarmed or armed byt out of ammo ai go to and re arm at a crate? even better if they  can change their weapon totally?
Title: Re: AI random Rearm
Post by: hoz on 04 Feb 2009, 15:10:29
Not really. What I use is this addon VFAI_Equipment.pbo (http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?act=ST;f=70;t=69090). The AI will then reammo when ever they need it.
Title: Re: AI random Rearm
Post by: Rommel92 on 04 Feb 2009, 20:27:48
AI will naturally 're-arm' with any ammo they lost during a firefight if the leader is smart enough, however they will not completely re-place their weapons at any time.

 :whistle: