From b24ba3beee24f38939b956a5e2feb52a7d9a47fe Mon Sep 17 00:00:00 2001 From: Blixibon Date: Fri, 29 May 2020 13:13:26 -0500 Subject: [PATCH] Updated VScript : Basic Entity Code Tutorial (markdown) --- VScript-:-Basic-Entity-Code-Tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VScript-:-Basic-Entity-Code-Tutorial.md b/VScript-:-Basic-Entity-Code-Tutorial.md index bfb0410..f9aafe7 100644 --- a/VScript-:-Basic-Entity-Code-Tutorial.md +++ b/VScript-:-Basic-Entity-Code-Tutorial.md @@ -126,7 +126,7 @@ function SetPlayerHealthToNPC() Now it's time to set the player's health to this value. This is done in a similar fashion to getting wyatt's health. -In entity scripts, there's always a variable called `player` which refers to the player. It can only be used in single-player mods. +In entity scripts, there's always a variable called `player` which refers to the player. It can only be used in single-player games. To set the player's health to our new `health` variable, we just use `player` followed by `.SetHealth(health)`: