Home   Help Search Login Register  

Author Topic: Killing off number  (Read 643 times)

0 Members and 1 Guest are viewing this topic.

Offline greg147

  • Contributing Member
  • **
    • Royal Air Assault Battalion
Killing off number
« on: 05 Dec 2004, 10:49:29 »
Is there a way to kill off a unit just by using they're number? Without giving them a name?

What i'm trying to do is use a PT boat (by cornel klink), but I want to kill one of the gunners with the use of a trigger. But you can't access the units in the editor. Is there a script to do this or something?  ???
Royal Air Assault Battalion - [L/Cpl] Greg
RAAB

bored_onion

  • Guest
Re:Killing off number
« Reply #1 on: 05 Dec 2004, 10:54:37 »
i think the key is to start the boat empty and fill it with loons using

this moveincargo klinkboat

that way you can still name the man and kill him when you want :)

Offline Fragorl

  • Coding Team
  • Former Staff
  • ****
Re:Killing off number
« Reply #2 on: 05 Dec 2004, 11:03:45 »
You'll have to give the boat a name, otherwise you've got no way of identifying it...
then try   (gunner boatone) setdammage 1

Offline greg147

  • Contributing Member
  • **
    • Royal Air Assault Battalion
Re:Killing off number
« Reply #3 on: 05 Dec 2004, 11:10:40 »
The problem is that for some reason, if you put the commander in it, the 4 gunners turn up aswell, leaving the guys I told to get in it standing there doing nothing.

What i'm also trying to do is use this:

http://xoomer.virgilio.it/sa8gecko/M1A1_turret.rar

which is a M1A1 with a MG on top, but I can't get onto the gunners postition on that either. And I can't do 'player moveingunner tank' either, cos its got 2 gunners. All very confusing  ???
Royal Air Assault Battalion - [L/Cpl] Greg
RAAB

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Killing off number
« Reply #4 on: 05 Dec 2004, 13:33:28 »
With an ordinary vehicle, the crew are named automatically when you name the vehicle.    Call it tank1 and the gunner is tank1G, driver tank1D and commander tank1C.

Quote
Is there a way to kill off a unit just by using they're number?
Don't understand this part.   What number?    Fragorl is right, you have to give a unit a name if you want to identify it.
Plenty of reviewed ArmA missions for you to play

Offline greg147

  • Contributing Member
  • **
    • Royal Air Assault Battalion
Re:Killing off number
« Reply #5 on: 05 Dec 2004, 15:43:56 »
What number?    Fragorl is right, you have to give a unit a name if you want to identify it.


You know how the leader of the group is 1, and then the guy that takes over when he dies is 2 etc. Also, when in battle, you might say,

3, injured. or : 6, got to soldier 9 o clock.
Royal Air Assault Battalion - [L/Cpl] Greg
RAAB

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Killing off number
« Reply #6 on: 05 Dec 2004, 15:53:12 »
group leaderName select #
0 = 1
1 = 2
etc.
in place of #

Offline greg147

  • Contributing Member
  • **
    • Royal Air Assault Battalion
Re:Killing off number
« Reply #7 on: 05 Dec 2004, 15:56:55 »
Wha? Will that kill the guy? I thought that was just to get a new leader?  ???
Royal Air Assault Battalion - [L/Cpl] Greg
RAAB

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Killing off number
« Reply #8 on: 05 Dec 2004, 17:48:53 »
thats to pick the unit by their number

Offline greg147

  • Contributing Member
  • **
    • Royal Air Assault Battalion
Re:Killing off number
« Reply #9 on: 05 Dec 2004, 19:05:14 »
Oh, so if I do:

group leadername select 1; 1 setdamage 1


Will that work?  ???
Royal Air Assault Battalion - [L/Cpl] Greg
RAAB

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Killing off number
« Reply #10 on: 05 Dec 2004, 22:20:03 »
Ah yes, I see.   Try

(group leaderName select 1) setDammage 1

or

(groupName select 1) setDammage 1

The brackets may be superfluous.
Plenty of reviewed ArmA missions for you to play

Offline greg147

  • Contributing Member
  • **
    • Royal Air Assault Battalion
Re:Killing off number
« Reply #11 on: 06 Dec 2004, 08:35:27 »
Thanks alot guys.  ;D
Royal Air Assault Battalion - [L/Cpl] Greg
RAAB