OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Resources Beta Testing & Submission => Topic started by: Brandon on 11 Mar 2007, 17:08:00

Title: AI Set Satchel Charge.
Post by: Brandon on 11 Mar 2007, 17:08:00
Put this in the "Init" field of a unit or in the "On Act" area in a waypoint/trigger.

Code: [Select]
Unitname fire "pipebombmuzzle"
The unit will set a satchel charge.

Code: [Select]
Unitname action ["TOUCHOFF", Unitname]
The unit will set off the satchel charge.

Make sure the unit you have selected to do this has satchels already in his inventory, otherwise this will not work.