OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: ICMTRIGGER on 27 Sep 2003, 23:23:24

Title: How do i make an enemy hold fire????
Post by: ICMTRIGGER on 27 Sep 2003, 23:23:24
I need and Enemy Unit to Hold fire until The west get to a certain point does anyone know how to do this if so please write back thank you
Title: Re:How do i make an enemy hold fire????
Post by: m21man on 28 Sep 2003, 03:14:26
Name the enemy unit something like enemyunit1
In enemy unit's init field:
this setcombatmode "green"

In a west-activated trigger at the "certain point", put this in the on activation field:
enemyunit1 setcombatmode "yellow"