OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: LimeCordial on 01 Sep 2002, 22:30:04

Title: forcing a unit to stay EXACTLY where he starts.
Post by: LimeCordial on 01 Sep 2002, 22:30:04
im making a black op mission and i want to have an escape truck that is initially locked. when the town is clear, i want to create a 'key' that will unlock the truck so the black ops can escape. i have figured out how to do that, but i want this 'key' to be on a specific guy who will stand next to the truck (because there are two). how do i make him stay exaclty where he is and not move a muscle?
Title: Re:forcing a unit to stay EXACTLY where he starts.
Post by: CrashnBurn on 01 Sep 2002, 22:33:49
unitname disableAI "MOVE"
Title: Re:forcing a unit to stay EXACTLY where he starts.
Post by: Wolf on 01 Sep 2002, 22:34:20
Put this in the units initialization field

This disableai "move"

And he wont move from that spot.
Title: Re:forcing a unit to stay EXACTLY where he starts.
Post by: LimeCordial on 01 Sep 2002, 22:35:00
oh right, cheers.