OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Ding on 29 Oct 2005, 13:32:14

Title: Switch Weapon
Post by: Ding on 29 Oct 2005, 13:32:14
Hi, I cant believe ive forgotten how to do this but how do i make an A.I. unit take out his binoculars and look through them?
Title: Re:Switch Weapon
Post by: Dane on 29 Oct 2005, 15:40:32
Hammy's Executable Command Reference is very usefull when forgetting such things:
http://www.ofpec.com/editors/browse.php?browsewhat=3&category=3_1

soldierOne selectWeapon "Binocular"
Title: Re:Switch Weapon
Post by: El Fisho on 29 Oct 2005, 17:55:26
You can also find an online command reference in the ed depot

http://www.ofpec.com/editors/comref.php (http://www.ofpec.com/editors/comref.php)
Title: Re:Switch Weapon
Post by: Ding on 30 Oct 2005, 07:23:12
Quote
soldierOne selectWeapon "Binocular"


thanks thats what i needed :)