Results 1 to 4 of 4

Thread: Make side East hold/Open fire and Urban combat questions.

  1. #1

    Make side East hold/Open fire and Urban combat questions.

    Ok couple of questions here.

    Firstly is there a command to get the entire side OpFor to hold/open fire? Basically I need all Opfor units to stop firing when one trigger is hit and fire again when another trigger hits.

    Second qustion (and yes I have searched) is that is there a better way to get soldiers to take up positions in/on buildings than manually adjusting their height and putting a hold waypoint right on them? If you put them in groups then only the leader will stay in place everyone else will bugger off. Some buildings even with a hold waypoint they still walk out of so you have to use disableAI "Move" on them even though that means they can't rotate which makes them of suspect usefulness.

    Oops one more, how would I make a trigger fire when a specific unit boards a vehicle?

    Cheers for the help.
    Last edited by EBass; Jan 19 2011 at 12:48.

  2. #2
    Do you have CBA? If yes then cba_fnc_taskDefend is your friend.
    If not, then put this into the init-field: this disableAI "MOVE"; this setPos (nearestBuilding this buildingPos x); , where x is the building position (Just use try & error to find a nice place).

    Edit: Answer to your vehicle boarding trigger:
    Put this to the init-field of the trigger: unit != vehicle unit
    Where unit is the name of the unit.
    Last edited by Gekkibi; Jan 19 2011 at 13:41.

  3. #3
    I shall not insult moderators
    Join Date
    Nov 25 2010
    Posts
    1,576
    Easy method to assign positions in buildings:

    Put this in the soldiers init:
    Code:
    this setPos ((position this nearestObject 123839) buildingPos 4);
    123839 = building identifier number - max zoom in on the Editor, press the ID's button.
    4 = building position - you will have to figure out where these are.
    If you go into a building as a squad leader and press space - you get lines to building positions as you move the cursor around.

    If you want to make them keep standing up - best on balconies etc:
    Code:
    this setUnitPos "Up";
    Last edited by PELHAM; Jan 20 2011 at 08:46.

  4. #4

    "...to boldly go where no one has gone before."

    Steam ID: Click me! | Origin ID: MrCharles9206

Posting Permissions

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