1
Armed Assault 2 / Re: infinite health, god mode
« on: June 23, 2009, 11:24:08 pm »
Can anybody help me how i insert this script into Arma:
Wich File (pbo) must i extract and edit in Arma?
Thanks a lot.
Cu
Quote
Just copy paste this script into your initialization, in your unit, or any units you want inf ammo or health. You do this in the mission editor.
for inf ammo:
this addEventHandler ["fired",{(_this select 0) setvehicleammo 1}]
for unlminted health:
this addeventhandler ["hit", {_this select 0 setdamage 0}]; this addeventhandler ["dammaged", {_this select 0 setdamage 0}]
for both:
this addEventHandler ["fired",{(_this select 0) setvehicleammo 1}];this addeventhandler ["hit", {_this select 0 setdamage 0}]; this addeventhandler ["dammaged", {_this select 0 setdamage 0}]
Wich File (pbo) must i extract and edit in Arma?
Thanks a lot.
Cu