Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Sitting person refuses to face the right way

  1. #1
    I have a guy sitting in a chair, but he will only face one direction, using setdir doesn't work to make him face the right way. No matter which way I have the chair point, he always faces west. It doesn't matter which way I set his azimut to either.

    I have him sit by putting a waypoint right over him and putting dude1 switchmove "onchair" in the activation field. I put dude1 setdir 0 also in the waypoint activation field and I tried making a trigger as well that would set his direction to north, but it doesn't work.

    My other question is about getting the cessna to take off. I have 3 guys in a group and I give them a getin waypoint for the cessna, than the next waypoint is a move one that is far away. Only the group leader will get in the cessna, and he will only go slow down the runway and hit the grass and stop. I presumed that happened because he was waiting for the other 2 guys to catch up on foot......but that isn't the case. I killed the other 2 in the group before the group leader got in the cessna, and he still behaves the same way. I have the cessna perfectly aligned at the end of the runway right on the middle line, but he still manages to get off track and hit the grass. Do planes have to be at a specific location on the runway or else they won't take off? TIA.

  2. #2
    do you've a tower (wire tower or something like that)? in your mission? all my units in my mission looked in the direction of the tower, maybe thats the problem


    and how do you let a soldier sit in a chair, i've some problems with it

    about the plane, i don't know





    Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions! Or take a look at the Mission Editing Tutorial

  3. #3
    Try placing the cessna on the taxi way instead. The pilot will taxi to the South end of any of the two runways, and take off, as long as they have a Move WP to a destination.

    It's odd that the leader would move with out letting the others in the group into the plane

  4. #4
    To get a person to sit, you double click on the guy with waypoints selected. In the activation field of the waypoint, you type guysname switchmove "onchair". Than move the guy and waypoint right on top of a chair x. I couldn't get it to work with other chairs. You could easily just use the init, but using the waypoint thing proved more convenient for what I wanted to do next.

  5. #5
    </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Intruder @ May 19 2002,13:22)</td></tr><tr><td id="QUOTE">Try placing the cessna on the taxi way instead. The pilot will taxi to the South end of any of the two runways, and take off, as long as they have a Move WP to a destination.

    It&#39;s odd that the leader would move with out letting the others in the group into the plane [/QUOTE]<span id='postcolor'>
    Thanks Intruder. The weird thing is that the leader will order the other 2 into a truck just fine that takes them to the cessna....but he doesn&#39;t let them in the plane.

  6. #6
    Are you sure that the men are assigned correctly? AsCargo?

    As for the guys sitting on the chairs, you can stop them looking about by disabling a part of their AI.

    unitName DisableAI “aiArea”

    aiArea indicates the area of the AI to disable. Valid values are :

    "target"
    "autotarget"
    "move"

    Try disable autotarget, I think it stops them from turning about on the chair. I was playing a mission where a group of soldiers were sitting on chairs while spinning around, very funny

  7. #7
    How do I make sure the leader assigns them as cargo?

    I don&#39;t know if this may help solve it....but I have the group drive to the cessna in a truck with a getout command on the road near the cessna. ***Then I give them a getin wp for the cessna. ***Everyone will getout, and the leader will give them a move command that is near the cessna. ***But when the leader gets close to the cessna, the leader tells the other 2 to get back in the truck, and I definitely didn&#39;t put that in my mission, lol.

    I&#39;ll give that disableai thing a try right now. ***Hopefully that will stop him from staring at the wall of the building, heh.

    EDIT: He still faces the same direction I tried making him face north, south, and east, but he always faces west. I tried different sitting commands too and that didn&#39;t work either




  8. #8
    Okay, when they reach the getout WP for the truck, in the activation field of that WP type:

    UnAssignVehicle unitname_leader; UnAssignVehicle guy_1; UnAssignVehicle guy_2
    ...etc

    where guy_1 is the name of the soldier unit.

    Then give them a Move WP near the Cessna, in the activation field of that WP type:

    unitname_leader AssignAsDriver Cessna; guy_1 AssignAsCargo Cessna; guy_2 AssignAsCargo Cessna

    where
    Cessna -name of plane
    unitname_leader - name of leader
    guy_1, guy_2 -names of soldiers.

    Then give them a GET IN WP near the cessna, then they should all get in.




  9. #9
    Thanks again, now I have the cessna all taken care of. That guy in the chair still refuses to face the way I want him to though

  10. #10
    Instead of disabling the AI, try use the DoWatch command.

    Unit1 DoWatch Unit2

    Just give them a unit to look at in the direction you want them to face. I&#39;m not sure if it works on static objects, but it&#39;s worth a try

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •