I'm trying to setup a custom gamemode where the terrorists must kill a set
of VIP's (hostage NPC's)  that the CT's are protecting in order to win.
Seeing as the hostages have no OnKilled output(or any outputs for that
mater) I thought I would use vscripts to get the health of them and if it
dropped below 1 consider them dead. Once they are all dead I would end the
round.

Seems simple enough but I've run into a snag it appears the GetHealth
function that was present in L4D2 for the survivors and SI is not in CSGO
for the hostages.

So if anyone knows of a way to get the hostage health or an alternative
workaround let me know.

-Wazanator
_______________________________________________
Csgo_sdk mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_sdk

Reply via email to