OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Ram TN on 09 Sep 2002, 15:01:45

Title: How do I make someone behave as "safe" without using waypoints?
Post by: Ram TN on 09 Sep 2002, 15:01:45
 ???
Title: Re:How do I make someone behave as "safe" without using waypoints?
Post by: seanver on 09 Sep 2002, 15:17:27
unit setbehaviour "SAFE"

Where unit the soldier's name.
Title: Re:How do I make someone behave as "safe" without using waypoints?
Post by: Wolfrug on 09 Sep 2002, 17:53:22
yup. Or just use "this" instead of the unit's name. You write it in the units inititialization field, as so:

this setbehaviour "safe"

the "this" quite simply reflects back to the "owner" of the init field; that way you can cut & copy commands much easier (so you won't have to change the name for each time). Right :)

other behavioural modes would be "careless",  "aware", "combat" and "stealth". For a full list of commands & assorted, download the UCR (Unoffical Command Reference) from the...hm, editor's depot (I think :) ). You won't regret it ;)

Good luck on yer editing! :thumbsup:

Wolfrug out.