From 9684c37e3242593089c38cc8383fb22068609163 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Sun, 24 May 2020 23:52:16 -0500 Subject: [PATCH] Updated VScript : Basic I:O Tutorial (markdown) --- VScript-:-Basic-I:O-Tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VScript-:-Basic-I:O-Tutorial.md b/VScript-:-Basic-I:O-Tutorial.md index ffd9625..ff69485 100644 --- a/VScript-:-Basic-I:O-Tutorial.md +++ b/VScript-:-Basic-I:O-Tutorial.md @@ -18,7 +18,7 @@ Open the file using Notepad, Notepad++, or any other text editor. Inside of this script file, we will add code which makes the player fire the `SetHealth` input with a parameter of `85`. -First, add `function SetPlayerHealthTo85()` at the top of the file. This will be what causes `SetHealth` to fire. You can technically use any name for this function, but `SetPlayerHealthTo85` will be used in this tutorial for simplicity. +First, add `function SetPlayerHealthTo85()` at the top of the file. This will be what causes `SetHealth` to fire. You can technically use any name for this function, but the name `SetPlayerHealthTo85` will be used in this tutorial for simplicity. After you have added `SetPlayerHealthTo85`, add a `{` on the line below it. Then, add a `}` below that one. @@ -32,7 +32,7 @@ function SetPlayerHealthTo85() Now we will make the function actually fire `SetHealth` on the player. -In between the `{` and `}` lines, add a new line with `EntFire()` inside. +In between the `{` and `}` lines, add a new line with the text "EntFire()". ```squirrel function SetPlayerHealthTo85()