I'm sure most of you have had many mission fails because of the AI bots doing something silly and getting themselves killed. So I was wondering if there's a way to make your AI mates invulnerable too (mainly for the campaign)? I think I saw someone talking about a way that involved editing PBO files that prevented them from taking damage but I can't seem to find it anywhere anymore.
Hey Tokkobot,
Editing the PBO files require you to download a console debug file from Armaholic. I think in the forums here somewhere there is a link to the file. Follow the instructions and you will get God Mode and Inf Ammo.
As for squad invulnerability, I tried just cycling through all the different characters and use the Debug Console on each of them and add the string:
player AllowDamage False
Hope that helps.
That event handler doesn't work. Just add the following to a script or initialization line of the unit (easilest way):
this addeventhandler ["hit", {_this select 0 setdamage 0}]; this addeventhandler ["dammaged", {_this select 0 setdamage 0}]
Pardon me for my ignorance but where is the initialization line of the units?
Thanks.
In the editor, when you double click on the man. You should see one of the blank boxes says "Initialization". Use that box.
Hate to really sound dumb, but what editor? Actually, it might help us all if you just made a little step by step guide to help those of us that are new to the game out. Thanks.