PDA

View Full Version : How to plus hitpoints by radio?



yyccccc
Jun 9 2009, 17:40
May I plus more hitpoints by a trigger by radio ?

Celery
Jun 9 2009, 17:57
Place a trigger, set a radio channel and in the command line put player setdamage 0

That should completely heal you once unless you set "repeatedly" instead of once.

yyccccc
Jun 10 2009, 03:58
Place a trigger, set a radio channel and in the command line put player setdamage 0

That should completely heal you once unless you set "repeatedly" instead of once.

If my hp=20, how can I change my hp=99999 ?

Mr Fenix
Jun 10 2009, 10:20
Damage goes from 0 to 1.

There is a way to make yourself immortal (useful for debugging) but I can't remember what it is.

DaveP
Jun 10 2009, 18:46
Damage goes from 0 to 1.

There is a way to make yourself immortal (useful for debugging) but I can't remember what it is.

Something to the effect of:

player addEventHandler ["hit",{_this setdammage 0}]

Junker
Jun 10 2009, 18:50
he wants to know if he can up his weapons damage output - abit like the hacks - cheaters and whatnot do :)

Sniperwolf572
Jun 10 2009, 18:51
Hmm, allowDamage (http://community.bistudio.com/wiki/allowDamage) was updated for ArmA2 on the Biki, it might be working this time around, worth checking out since I can't check myself.

yyccccc
Jun 11 2009, 03:44
Something to the effect of:

player addEventHandler ["hit",{_this setdammage 0}]

I try to paste it to init but it does not work, what is wrong?

Mr Fenix
Jun 11 2009, 12:11
What's this for?