OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bdfy85 on 27 Sep 2005, 16:56:02
-
When I place invtarget in front of target - bots fire at it automaticly ,without further orders.
I wrote a script that camcreates the invtargets in front of target ( TargetE ) , but Ai units do not fire ! :( What is the probloem ?
See the example attached ( invtargets addon included )
-
Use createVehicle instead of camCreate.
-
that's exactly what I used ;)
-
try adding a reveal command (http://www.ofpec.com/editors/comref.php?letter=R#reveal). sometimes ai gets confused when objects materialise in front of them. it takes a few seconds for their noddles to catch up ;)
-
bedges
yes, it works ;) 10x