Home   Help Search Login Register  

Author Topic: ignoring another unit  (Read 807 times)

0 Members and 1 Guest are viewing this topic.

Ricardo

  • Guest
ignoring another unit
« on: 27 Dec 2002, 14:58:10 »
Hello again!
How can i make a group of west soldiers not attack or target one enemy unit and attack all others?(as if they didn't see it)

mpbm

  • Guest
Re:ignoring another unit
« Reply #1 on: 27 Dec 2002, 15:26:42 »
I think itÂ's something like:

name_of_soldier setcaptive true

This will make the unit captive -> frindly to everyone.
« Last Edit: 27 Dec 2002, 15:51:33 by mpbm »

Ricardo

  • Guest
Re:ignoring another unit
« Reply #2 on: 27 Dec 2002, 16:14:22 »
Well that won't do it  :-\then because as i said i want the west soldiers to attack every enemy except for a particular one.
Plz more ideas!

Britboy

  • Guest
Re:ignoring another unit
« Reply #3 on: 27 Dec 2002, 16:38:41 »
That will work, just put 'this setcaptive true' in the init field of the soldier you want to be ignored.

Ricardo

  • Guest
Re:ignoring another unit
« Reply #4 on: 27 Dec 2002, 16:48:19 »
Oh...i misunderstood lol i thought u where refering to the west soldiers...me dumb :-X
tkx m8 this was an easy one! even i knew that :P just didn't remember doin' it

Ricardo

  • Guest
Re:ignoring another unit
« Reply #5 on: 27 Dec 2002, 17:17:23 »
just tryed and it doesn't work as i wanted...the east machinegun attacks not only the east soldiers but west ones as well....so...isn't there a way to make ONLY a group of west soldiers ignore the machinegun?

O Neil

  • Guest
Re:ignoring another unit
« Reply #6 on: 28 Dec 2002, 00:54:09 »
What do you mean, do you mean an east machine gunner just randomly attackes east and west?

Ricardo

  • Guest
Re:ignoring another unit
« Reply #7 on: 28 Dec 2002, 01:28:40 »
When i use the setcaptive command on the east M2 it attacks ALWAYS both west and east!

O Neil

  • Guest
Re:ignoring another unit
« Reply #8 on: 29 Dec 2002, 04:09:10 »
So, if I get you right, you use the setcaptive command on the east machine gunner.

If so, a posible solution you could use would be to type the following into the init feild:

Removeallweapons this

O Neil

PS: Or is it removeallammo this.......if that's possible..........Or, this is better :P set the machin gunners ammo to 0 ;)

toadeater

  • Guest
Re:ignoring another unit
« Reply #9 on: 29 Dec 2002, 07:45:45 »
Maybe also:

bastardM2 setCombatMode "blue"

This is supposed to stop them from firing at anyone. Or:

bastardM2 setCombatMode "green"

to fire only if attacked.

Ricardo

  • Guest
Re:ignoring another unit
« Reply #10 on: 29 Dec 2002, 22:25:43 »
i wanted a different effect
i'll just try something else...tkx anyway!  :toocool:

O Neil

  • Guest
Re:ignoring another unit
« Reply #11 on: 30 Dec 2002, 08:55:38 »
ok