Home   Help Search Login Register  

Author Topic: setting dammage to any soldier  (Read 484 times)

0 Members and 2 Guests are viewing this topic.

gadolinite

  • Guest
setting dammage to any soldier
« on: 05 Jun 2003, 21:17:50 »
when soldiers or a person of any kind enters a trigger area, how do you use a loop to setdammage them to .1 at a time everytime the loop incriments?

Some of these soldiers are named, where most are not.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:setting dammage to any soldier
« Reply #1 on: 05 Jun 2003, 23:42:03 »
make da trig


repeatable
nybody present
condition : this
on activision : "_X setdammage (getammage _X +0.1)" foreach thislist

shud work

LCD OUT
« Last Edit: 06 Jun 2003, 00:57:32 by LCD »
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:setting dammage to any soldier
« Reply #2 on: 06 Jun 2003, 00:33:45 »
Unfortunately LCD, normally a paragon of good answering, misread your question.   ;D

Make a trigger:-

Activation box:    anybody present    Repeatable
Condition:   this and var1
On activation:    "_x setdammage (getdammage _x + 0.1)" foreach thislist

Use a looping script to switch the var1 from true to false as you like.  

Syntax, and indeed the whole result, not guaranteed but its worth a try.


mac 2 : LCD 2  ::)
« Last Edit: 06 Jun 2003, 00:41:18 by macguba »
Plenty of reviewed ArmA missions for you to play

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:setting dammage to any soldier
« Reply #3 on: 06 Jun 2003, 00:57:12 »
he said

Quote
setdammage them to .1

not add ::)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:setting dammage to any soldier
« Reply #4 on: 06 Jun 2003, 09:41:13 »
hmmm ..... true, but

Quote
setdammage them to .1 at a time everytime

I think we'll have to wait and see what he says ... ok gadolinite me ol' china, who answered your question better?  :P   (Don't worry, you won't offend anyone.  ;D)
Plenty of reviewed ArmA missions for you to play