OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Owens on 16 Jun 2003, 21:10:39

Title: Men keep runnin away when i need to kill em
Post by: Owens on 16 Jun 2003, 21:10:39
On one objective i am supposed to kill a few men, but they keep runnin away when there arnt many left.
Anyways i cant complete the objective if one of the guys in the group has run off. If they wernt in a group would this still happen. There s gotta be an easier way to stop em running away tho.
thx
Title: Re:Men keep runnin away when i need to kill em
Post by: Kaliyuga on 16 Jun 2003, 21:18:40
Command:
AllowFleeing
 
Description:
Sets whether a unit or group can flee.
 
Syntax:
Name allowfleeing Number

Name is the name of a unit or group

number is either 0 or 1
0 unit/group will not flee
1 unit/group can flee
 
 
Example:
man allowfleeing 0

 
Title: Re:Men keep runnin away when i need to kill em
Post by: Owens on 16 Jun 2003, 22:05:08
ahh right, i'll go try it now. Thanks :D
Title: Re:Men keep runnin away when i need to kill em
Post by: LCD on 17 Jun 2003, 00:44:32
also u can use da fleeing command  ;) 2 c if dere r enemies fleeing cuz it somtime not realistic dat da enemy stay fightin nd dont flee ;D

nywayz solve da topic if ur prob is solved

LCD OUT
Title: Re:Men keep runnin away when i need to kill em
Post by: Owens on 17 Jun 2003, 02:00:24
I aint exactly sure what ya mean there, but thx anyways:)