Home   Help Search Login Register  

Author Topic: How do you..........  (Read 375 times)

0 Members and 1 Guest are viewing this topic.

IlikeOFP

  • Guest
How do you..........
« on: 29 Jun 2003, 21:56:59 »
How do you get a unit such as a prisoner inside a building?  I am settin up a mission where you have to retake an airport and rescue some hostages.  I want to know how to get a captive soldier and his captors inside a building.  Is there a script or an official or unofficial scripting tool on how to do this? ???

Thanks, and keep your milkshakes cool 8) :toocool:

And one other thing could you keep it as simple as possible.  :)

Smilies :) ;) :D ;D >:( :( :o 8) ??? ::) :P :-[ :-X :-\ :-* :'( :beat: :cheers: :gunman: :help: :tomato: :wave: :toocool: :noo: :joystick: :hmm: :thumbsup: :wow:
« Last Edit: 30 Jun 2003, 21:01:12 by Sgt. Milkshake »

Totibbs

  • Guest
Re:How do you..........
« Reply #1 on: 29 Jun 2003, 22:04:56 »
I put units in buildings by trail and error.

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:How do you..........
« Reply #2 on: 29 Jun 2003, 22:18:50 »
ya could try & setPos the moron!  :D


INIT field code:


    This setPos [getPos this select 0, getpos this select 1, 5.7]


where "5.7" is the HEIGHT for the guy (like if you want him to stand on 1st floor).
Then just slide the moron upon the building.  :-* ;)

you could also put:

 this setUnitPos "UP"; doStop This

 in his INIT


=============

and then a trigger (fired by YOU, grouped to yer grp) could have the code:

[bob] join player

if the prisoner was named bob, he'd join ya when you got near.
Use the axis "a & b" to set the size of the trigger.

« Last Edit: 29 Jun 2003, 22:21:51 by Tomb »