How would I change the health of a generic_actor entity? I am creating a scripted sequence with Combine Soldiers and an alien grunt an I have to have the soldiers just stand there and do nothing while the grunt crushes them with an APC. The tut on the VDC's article didn't work.
On valve wiki they say:
" Note: This npc's max health is 8. If you're a mapper and want to increase the health, you can do an AddOutput with max_health "Amount Of Health", and then a SetHealth input after that. Otherwise you should implement a ConVar for their health like other NPCs."
If you tried that, and it didn't work, then try:
OnWhatever > your generic_actor > AddOutput > health x > Delay=0
Replace x by a value. You can go past the max_health when you addoutput health.
It work on players (setting 9999 hp for example), so it should work on npc too.
Sorry, you need to Log In to post a reply to this thread.