Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: forcing a unit to stay EXACTLY where he starts.  (Read 1655 times)

0 Members and 1 Guest are viewing this topic.

LimeCordial

  • Guest
forcing a unit to stay EXACTLY where he starts.
« 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?

CrashnBurn

  • Guest
Re:forcing a unit to stay EXACTLY where he starts.
« Reply #1 on: 01 Sep 2002, 22:33:49 »
unitname disableAI "MOVE"

Wolf

  • Guest
Re:forcing a unit to stay EXACTLY where he starts.
« Reply #2 on: 01 Sep 2002, 22:34:20 »
Put this in the units initialization field

This disableai "move"

And he wont move from that spot.

LimeCordial

  • Guest
Re:forcing a unit to stay EXACTLY where he starts.
« Reply #3 on: 01 Sep 2002, 22:35:00 »
oh right, cheers.