OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Sebastian Phillips on 08 Feb 2007, 07:51:30
-
Me and the Enclave Team have decided to make a Stalingrad recreation like off of Call of Duty and we were wondering how do you keep spawning AI in Single Player Missions or if it is even possible
-1mmorta1
www.enclaveofp.tk
Feel free to Email me at "sebastianphillips@gmail.com"
-
using createUnit command:
"unit type" createUnit [position, group, "init field", skill level, "rank"]
-
@Sebastian Phillips
I've just written some scripts that do this for both non-playable AI units and vehicles in ArmA, which you can read about here (http://www.ofpec.com/forum/index.php?topic=28741.0). Some of the cmds are different in ArmA so I'm not sure if this will help but it may act as a guide.