Home   Help Search Login Register  

Author Topic: Switching units position  (Read 1274 times)

0 Members and 1 Guest are viewing this topic.

Peacebringer

  • Guest
Switching units position
« on: 06 Sep 2002, 13:21:28 »
I'm rather new at mission making and I've come across a problem with putting my units in a pillbox.  In order to fire out they must be crouched, I've tried several ways and none seem to work.  Any help recieved will be much appreciated.  Also I would like to know more about scripting AP mines...any suggestions or information would help me out alot.

DeusRich

  • Guest
Re:Switching units position
« Reply #1 on: 06 Sep 2002, 18:32:00 »
ok, i dont know a proper command for this, but I know of one way to get him crouched - however I am not sure again whether he will be able to fire... anyway, when you have him in position, somewhere, somehow, you want a trigger to activate (you will have to work out how you want it to activate) then you can do this as the activation line:

pillboxman playmove "Combat to crouch"

where pillboxman is tho person you want in the pillbox ;D

Peacebringer

  • Guest
Re:Switching units position
« Reply #2 on: 06 Sep 2002, 20:38:37 »
Thanx worked out good

Offline @cero

  • Members
  • *
  • Yeah! Get some!!
Re:Switching units position
« Reply #3 on: 07 Sep 2002, 01:52:18 »
For the ines thingon I use camcreate using a trigger and a gamelogic, I don't know if that's what you want, gos like that:

Gamelogic name: Mine (for example)

then put this in the on activation field of the trigger:
b1="handgrenade"camcreate getpos mine

Make sure the triger and the gamelogic are in the same place. It should work, oh and make sure is activated by anyone present and the radious of the trigger is kind of smal, like two or three metres, if you do a few of this and name the gamelogics diferent to each other you could have a mine field.
Later.
@cero
SCREWBY!!!

Peacebringer

  • Guest
Re:Switching units position
« Reply #4 on: 07 Sep 2002, 04:59:48 »
Thanks for all the help, its greatly apprciated.