Home   Help Search Login Register  

Author Topic: retreating  (Read 1889 times)

0 Members and 1 Guest are viewing this topic.

Offline 456820

  • Contributing Member
  • **
retreating
« on: 22 Nov 2004, 20:05:34 »
Im really stuck on the reatreating thing like wen half the men are dead in the squad they will retreat. Does any1 know how to make it so they dont it so annoying

bored_onion

  • Guest
Re:retreating
« Reply #1 on: 22 Nov 2004, 20:07:07 »
Code: [Select]
this allowfleeing false
although i think this is a bit unreliable...

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:retreating
« Reply #2 on: 22 Nov 2004, 23:52:13 »
unit allowFleeing courage

Operand types:
unit: Object or Group
courage: Number
Type of returned value:
Nothing
Description:
Set group courage. The less courage, the sooner will group start fleeing. 0 means maximum courage, 1 means always fleeing.

Example:
soldierOne allowFleeing 0
Plenty of reviewed ArmA missions for you to play

Offline 456820

  • Contributing Member
  • **
Re:retreating
« Reply #3 on: 23 Nov 2004, 12:51:32 »
do i put that in the init field of the oficer in the group and would the oficer have to be called "SoldierOne"

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:retreating
« Reply #4 on: 23 Nov 2004, 12:57:32 »
Actually, you can just write this in the unit field of the group leader

this allowFleeing 0

You can give units virtually any name you like.    Read Abuu's Basic Editing Tutorial in the Editors Depot.
Plenty of reviewed ArmA missions for you to play

Offline 456820

  • Contributing Member
  • **
Re:retreating
« Reply #5 on: 23 Nov 2004, 13:05:36 »
thnxs alot

Offline 456820

  • Contributing Member
  • **
Re:retreating
« Reply #6 on: 23 Nov 2004, 13:08:17 »
another thing does anyone know how to give a whole group a name like group Alpha so on the radio messages it always say Alpha insead of kilo black 5 or summit like dat

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:retreating
« Reply #7 on: 23 Nov 2004, 13:10:36 »
In the init field of the group leader

grp1 = group this
Plenty of reviewed ArmA missions for you to play

Offline 456820

  • Contributing Member
  • **
Re:retreating
« Reply #8 on: 23 Nov 2004, 13:12:52 »
does that mean on another group it would have to be "grp2 = group this"

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:retreating
« Reply #9 on: 23 Nov 2004, 14:46:20 »
Yes, if you try to give any two things the same name (doesn't matter if they are groups, variables, objects, etc.) then the game blows up and sets fire to your cat.
Plenty of reviewed ArmA missions for you to play

Offline 456820

  • Contributing Member
  • **
Re:retreating
« Reply #10 on: 23 Nov 2004, 15:39:29 »
lol thanks

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:retreating
« Reply #11 on: 23 Nov 2004, 15:51:44 »
Don't forget it'll infest a LCD virus on your harddrive so anytime you enter a forum in the near future your posts makes no sense...

Actually, the command you're looking for is setgroupid, look it up in your ComRef.

:beat: *Gets Shot* :beat:

Offline 456820

  • Contributing Member
  • **
Re:retreating
« Reply #12 on: 23 Nov 2004, 16:31:06 »
wat u bein serius

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:retreating
« Reply #13 on: 23 Nov 2004, 17:20:30 »
 ;D  only about the setGroupId part.
Plenty of reviewed ArmA missions for you to play

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:retreating
« Reply #14 on: 23 Nov 2004, 17:35:36 »
LMAO. ;D

Intra-OFPEC joke. ;)

:beat: *Gets Shot* :beat:

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:retreating
« Reply #15 on: 23 Nov 2004, 17:45:52 »
weewy funny armstrong weewy funny :P

LCD (once a spammer, alwayz a spammer) OUT

P.S i was talkin about macca there ;) ::)

ohh and d00d if problem is solved press the solve button ;D
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline 456820

  • Contributing Member
  • **
Re:retreating
« Reply #16 on: 25 Nov 2004, 19:00:13 »
now i can do group nameing but what do you do for single units or a single unit who is in a squad?

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:retreating
« Reply #17 on: 25 Nov 2004, 19:10:32 »
You can't. The squad flee as one.

:beat: *Gets Shot* :beat:

Offline 456820

  • Contributing Member
  • **
Re:retreating
« Reply #18 on: 25 Nov 2004, 19:19:35 »
i dont actually get the set group id thing does that need a link in the descriptions.ext file. Im trying to have it so when on a radio call or side chat thing in my case it says "Alpha : "this is alpha to all units blady blady blah" how do i get that to work instead of " Echo black 6 : This is alpha to all units and so on" how?

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:retreating
« Reply #19 on: 25 Nov 2004, 19:53:14 »
Setgroupid, like I said.

:beat: *Gets Shot* :beat:

Offline 456820

  • Contributing Member
  • **
Re:retreating
« Reply #20 on: 25 Nov 2004, 20:03:29 »
yes i know but it doesnt seem to work

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:retreating
« Reply #21 on: 25 Nov 2004, 20:11:03 »
How does such a simple topic get so  many posts

Offline 456820

  • Contributing Member
  • **
Re:retreating
« Reply #22 on: 25 Nov 2004, 20:11:40 »
lol dunno

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:retreating
« Reply #23 on: 25 Nov 2004, 22:09:47 »
What do you type then? We can't help you if you don't give us information. I have a mission I'm working on, uses setgroupid. Works fine.

:beat: *Gets Shot* :beat:

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:retreating
« Reply #24 on: 26 Nov 2004, 00:54:26 »
You can't get rid of the "Alpha Black" stuff.   You can change it to "Bravo Green" or whatever you like, but it is always there.    

You can have two special callsigns, of which one is usually Papa Bear.   There is a tute in the Ed Depot on how to change that to whatever you want.

If you want more than two, then the workaround is to start the message with the callsign you want.

"(Sgt Smith) - Ready when you are, boys."
Plenty of reviewed ArmA missions for you to play

Offline 456820

  • Contributing Member
  • **
Re:retreating
« Reply #25 on: 26 Nov 2004, 16:25:51 »
cheers that will do me fine thanks