Updated VScript : Basic Entity Code Tutorial (markdown)

Blixibon 2020-05-29 13:18:17 -05:00
parent 2d402339e7
commit b9ff8c7ca6

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