Home   Help Search Login Register  

Author Topic: combatmode  (Read 989 times)

0 Members and 1 Guest are viewing this topic.

Judge856

  • Guest
combatmode
« on: 21 Jun 2003, 03:51:38 »
Hi all, me again

Does anyone know why....

_x setcombatmode "RED"

wont work in a trigger when anyone is present? Because I can't for the life of me understand it.

Thanks in advance...

PS

I did search this, because I've saw it not too long ago, but I can't seem to find it either  :-[

Judge856

  • Guest
Re:combatmode
« Reply #1 on: 21 Jun 2003, 04:04:47 »
I thought I'd explain it abit more. I'd like all the units on the map to start shooting at the opposition when the trigger is activated.

+ if I add this.....

"_x Allowdammage False" foreach (_unit) will it work? <--- for a cutscene

Judge856

  • Guest
Re:combatmode
« Reply #2 on: 21 Jun 2003, 04:27:16 »
Oh, basically, I want to make it look ilke theres a viscious battle going on from both sides of the bridge in Nagova. Problem is, only tanks fire at each other and the men do nothing but crawl about. I'm looking for them to be shooting at anything that moves kinda thing.

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:combatmode
« Reply #3 on: 21 Jun 2003, 07:37:41 »
Err... what is _unit exactly? ;)

To get your combatmode line applied to all units within a trigger radius, you could use this:

"_x setcombatmode {RED}" foreach thislist

in the triggers onactivation line (make sure it is a 'present' trigger though).

As for allowdamage, I'm afraid you will have some problems as that command was made obselete (eg. doesn't work) after v 1.0 ;)