Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Stop people going prone?

  1. #1
    I am trying to make a mission where I have a squad charge across a field to attack a position, but every time they come under fire they go prone.

    Is there a way to force them to not go prone and to continue the attack until they reach a certain point (the enemy) before going prone?

    Thanks.

  2. #2
    I use 'unit_name setunitpos "up" ' But I bet some of the super scripters here will pull off something more flashy.

  3. #3
    I wish there was an actual charge script, with the units firing as they sprinted. But it seems that you have to either deal with them standing in place and firing, or have to make them hold their fire as they dash towards the enemy.

  4. #4
    Use the setUnitPos "UP" command in combination with the allowFleeing command...

    In the init field of the group leader, or in a script, you write:

    {_x setUnitPos "UP"; _x allowFleeing 0} forEach units nameOfGroup

    They will stay up while running and they will not go and hide when losses becomes too high (wich usually happens if you charger across a field without seeking cover).
    OFPEC | Intel Depot
    Find the answers to all your editing related questions at OFPEC - The Editing Center.

  5. #5
    Great, thanks. Now, once they get to their destination how do I turn these settings off so they behave normally?

  6. #6
    Hmm, I have been testing it and I think I must be doing something wrong. I entered what you wrote in the initialization bar on all the group leaders but when they come under fire they all still hit the deck.

  7. #7
    First Sergeant
    Join Date
    Aug 31 2002
    Location
    Tromsř, Norway
    Posts
    850
    you have to fill in the name of the group where it says nameOfGroup...

    best way is to put:

    {_x setUnitPos "UP"; _x allowFleeing 0} forEach units (group this) in the leaders init...

    if you have filled in the group name, then there something fishy going on
    \"Va det opp te mæ skulle dokker ha vært på ishave og ronka kobbekuk, førbainna søringsatana, så kunne dokker ha sotte å konfigurert dokker sjøl utavhælvettes langt oppi de utpulte ræven dokkers at dokker måtte sjite utav øran neste gang dokker måtte på dass, og når dokker va færdi me det, så sku æ personlig ha kommen å formatert trynan dokkers, å så innstallert skanken oppi baillhånka dokkers så dokker pesse røde serienummer.\" - Sint fisker...

  8. #8
    I am pretty new to this. How do I find out what the name of the group is?

  9. #9
    Hi Fella's, to add a question in this topic

    During a firefight i want some men to "stand" like this
    " just "standing" in crouch, but i added a picture cause my english aint the best

    so i thought to type in the init. field
    'unit_name setunitpos "crouch"
    but that dind't work
    So anyone knows what to type?

  10. #10
    First Sergeant
    Join Date
    Aug 31 2002
    Location
    Tromsř, Norway
    Posts
    850
    Quote Originally Posted by (Vladimir_Berkov @ July 29 2005,07:51)
    I am pretty new to this. ***How do I find out what the name of the group is?
    use (group this) as group name, if you place it in the init field of the group leader.

Page 1 of 3 123 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
  •