Home   Help Search Login Register  

Author Topic: retreating  (Read 2223 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: