Updated VScript : Basic Entity Code Tutorial (markdown)

Blixibon 2020-05-29 13:11:02 -05:00
parent 73534ac7ed
commit a92cbe8491

@ -60,7 +60,7 @@ This function takes parameters in between the parentheses, separated by commas.
Entities.FindByName(null, "wyatt")
```
The first parameter is used for finding multiple entities of the same name, so we use `null` to indicate that we're looking for the first entity named "wyatt" instead of, say, the second entity named "wyatt".
"wyatt" *must* be in the second parameter. The first parameter is used for finding multiple entities of the same name, so we use `null` to indicate that we're looking for the first entity named "wyatt" instead of, say, the second entity named "wyatt".
In the function itself, it would look like this: