Home   Help Search Login Register  

Author Topic: Never falling back  (Read 2187 times)

0 Members and 1 Guest are viewing this topic.

Offline Grandi

  • Members
  • *
Never falling back
« on: 14 Feb 2011, 12:18:39 »
I'd like to know how can I make my group never falling back even if we lost most of our men. Is it possible? It's annoying when the officer decides to fall back and stay laying next to car a kilometer away from the mission area.

Offline OFP_f3d3

  • Former Staff
  • ****
  • Fraud is the ready minister of injustice.
Re: Never falling back
« Reply #1 on: 14 Feb 2011, 18:25:13 »
in the init case of the soldiers write this

Code: [Select]
grp1= group this
Code: [Select]
grp1 AllowFleeing 0
Nothing in the world is as certain as death.

Offline Grandi

  • Members
  • *
Re: Never falling back
« Reply #2 on: 15 Feb 2011, 13:55:51 »
Do I write both of these inside the description.ext file or just the second one?


#EDIT: No need to quote the entire previous post you're replying to...   h-
« Last Edit: 15 Feb 2011, 16:22:22 by h- »

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
Re: Never falling back
« Reply #3 on: 16 Feb 2011, 01:33:05 »
You must write those commands in the init. see the image ( click on image for larger view )

Regards,
~Aldo
« Last Edit: 16 Feb 2011, 01:35:25 by Aldo15 »
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom

Offline Grandi

  • Members
  • *
Re: Never falling back
« Reply #4 on: 16 Feb 2011, 11:54:13 »
Thanks Aldo15! :)

Offline Grandi

  • Members
  • *
Re: Never falling back
« Reply #5 on: 20 Feb 2011, 19:00:01 »
You must write those commands in the init. see the image ( click on image for larger view )

Regards,
~Aldo

I tried this one but it only returns me an error: "'grp allowFleeing 0|#|': Error allowfleeing: Type Number, expected object,group"

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
Re: Never falling back
« Reply #6 on: 20 Feb 2011, 19:15:11 »

I tried this one but it only returns me an error: "'grp allowFleeing 0|#|': Error allowfleeing: Type Number, expected object,group"

Are You Sure? It works for me!

Well, Try this:

1.Namig the group leader ------->
Quote
Unit1
2. You should to put in the init of this one unit this:
Code: [Select]
{_x allowFleeing 0} foreach units Unit1
If this command doesn't work, Feel free ask me

Regards,
Aldo

EDIT: Umm, Now I know because this command doesn't work.... Do You put in th init "grp=1"? if that's true, You must fix it!

You must to write
Code: [Select]
grp=group this
I'm Sorry....  :P
« Last Edit: 20 Feb 2011, 19:27:13 by Aldo15 »
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom

Offline Grandi

  • Members
  • *
Re: Never falling back
« Reply #7 on: 21 Feb 2011, 22:43:50 »
Got it working this time, thanks!