Updated VScript : Basic Entity Code Tutorial (markdown)

Blixibon 2020-05-29 13:15:23 -05:00
parent b24ba3beee
commit 2d402339e7

@ -209,7 +209,7 @@ function SetPlayerHealthToAllOfNPC()
{ {
local health = 0 local health = 0
local wyatt local wyatt = null
while((wyatt = Entities.FindByName(wyatt,"wyatt")) != null) while((wyatt = Entities.FindByName(wyatt,"wyatt")) != null)
{ {
health += wyatt.GetHealth() health += wyatt.GetHealth()