PDA

View Full Version : need help scripting



DFP
Jul 18 2009, 04:17
how do i make so that an opfor doesnt shoot until i've captured an objective?
im trying to have so that the artillary starts shooting only after i've captured a city

---------- Post added at 05:17 AM ---------- Previous post was at 04:28 AM ----------

sorry, wrong forum

freddern
Jul 18 2009, 14:10
Try setting
this setCaptive true in every Blufor unit and in the trigger that is executed when you have done the objective, set in init
this setCaptive false

Maby there is a better way....:j:

fabrizio_T
Jul 19 2009, 21:02
disableAI (http://community.bistudio.com/wiki/disableAI). Alternatively enableSimulation (http://community.bistudio.com/wiki/enableSimulation) false

It really depends on what you have to do.