Home   Help Search Login Register  

Author Topic: Stupid AI commander - GET IN means GET IN  (Read 1260 times)

0 Members and 1 Guest are viewing this topic.

Eater1

  • Guest
Stupid AI commander - GET IN means GET IN
« on: 20 Feb 2003, 01:40:01 »
I'm currently building a singleplayer mission, and in one part of this mission the player (who is not at the time part of any group) drives a car (civilian car, if it matters) to the location of a bunch of grouped soldiers, where he joins that group (under an AI commander). The group then has a waypoint to board another car, but the AI commander for some reason always orders the player to get in the car he came in and everyone else to board the right car. I noticed that this only occurs if the player has been in his own car before - I tried placing another car next to the car the group is supposed to board and placing the player nearby (so he doesn't have to ride a car to get to the group), and everything works fine, but if the player hops into the "wrong" car and gets out, and then joins the group, the commander will make him get into his old car. This is a considerable problem for me because I really need everyone to be in one car (otherwise the mission won't work right). Is there any way to force the entire group to board the same car, without the commander making the player get into some other car while everyone else rides off without him?

Eater.

Bronski

  • Guest
Re:Stupid AI commander - GET IN means GET IN
« Reply #1 on: 20 Feb 2003, 02:07:40 »
Did you assign all the ai troops as cargo to the vehicle you want them to get into as well as your soldier?

I've noticed this has caused problems with getting in and out of air vehicles.

Eater1

  • Guest
Re:Stupid AI commander - GET IN means GET IN
« Reply #2 on: 20 Feb 2003, 02:43:39 »
Well, I assign the entire group to cargo, but BEFORE the player joins it... and there is my problem. It works much better now, thank you.

Eater.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Stupid AI commander - GET IN means GET IN
« Reply #3 on: 20 Feb 2003, 10:15:52 »
player unAssign civvycar (check the syntax) might help as well.
Plenty of reviewed ArmA missions for you to play

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:Stupid AI commander - GET IN means GET IN
« Reply #4 on: 20 Feb 2003, 18:15:25 »
An AI commander always orders a player to get back into whatever vehicle he was in last if he gets out of it.  So, in your case, the AI is ordering you back into your civilian car instead of the proper vehicle.

I think macguba has the right idea.  After the player disembarks, activate the unassign code on the player so that the group leader won't order him back in.  Then, only after that has been done, let the AI leader reach the board waypoint to get into the real vehicle.
Ranger

Eater1

  • Guest
Re:Stupid AI commander - GET IN means GET IN
« Reply #5 on: 20 Feb 2003, 22:39:49 »
It would be difficult to unassign the player from the car because there are literally hundreds of cars the player can take to get there. Of course, I could probably try grouping all of the cars together, but some of them are in groups already (those that are in groups would be DIFFICULT to take, but not impossible - the player could just shoot the driver and take over). Right now I'm trying to instead do the assign thing, assigning the group leader to driver and the player to cargo... it seems to be working more or less (when I just assigned the player to cargo the group leader would make him be the driver, which also doesn't really work for me - I assume this had something to do with the player being the only person in the group specifically assigned to the car).

Eater.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Stupid AI commander - GET IN means GET IN
« Reply #6 on: 20 Feb 2003, 22:45:56 »
player assignascargo car1
player unAssign car1

as long as car1 exists (stick it on an outlying island) that might do the trick
Plenty of reviewed ArmA missions for you to play

Eater1

  • Guest
Re:Stupid AI commander - GET IN means GET IN
« Reply #7 on: 20 Feb 2003, 23:00:38 »
Ah... good idea. I'll have to try that, thanks.

Eater.

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Stupid AI commander - GET IN means GET IN
« Reply #8 on: 21 Feb 2003, 01:45:48 »
Welcome to the forums, Eater1

I think you might be after:

unassignvehicle player

No need to specify the vehicle ;)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Stupid AI commander - GET IN means GET IN
« Reply #9 on: 21 Feb 2003, 01:51:11 »
*sigh*    I'm going to have to stop making up commands and start looking in the manual instead ........  :-*
Plenty of reviewed ArmA missions for you to play

Eater1

  • Guest
Re:Stupid AI commander - GET IN means GET IN
« Reply #10 on: 21 Feb 2003, 02:01:20 »
That is indeed what I'm looking for... and I already had the perfect spot for my dummy vehicle all picked out. Oh well, this works much better now, thanks. No more strange situations such as having half team running after the car, or having to trail the rest of the team while somehow also having a conversation with the commander (and reading while driving... tisk tisk).

Eater.