- Sep 13, 2023
- 27
- 20
So i'm just starting out with vscript, and i was following TopHATTwaffle's introduction to vscript, but i keep getting these erros. Can someone help me with this?
As i tried to recreate the HelloWorld print i started getting this error as i join the map:
Vscript executing script: boxing_gamemode.nut
Script not found (scripts/vscripts/boxing_gamemode.nut)
Even though i have the file path to be only the .nut file's name as in this thread: https://tf2maps.net/threads/vscript-problem.49929/
And i also get this error when i try to run the helloworld function:
AN ERROR HAS OCCURRED [the index 'helloworld' does not exist]
CALLSTACK
*FUNCTION [main()] InputRunScript line [1]
LOCALS
[vargv] ARRAY
[this] TABLE
Entity Vscript encountered an error in RunScript()
Even though i have the output set up with the "()" at the end of the function's name:
Also this is the code i'm trying to run:
And the script's path:
As i tried to recreate the HelloWorld print i started getting this error as i join the map:
Vscript executing script: boxing_gamemode.nut
Script not found (scripts/vscripts/boxing_gamemode.nut)
Even though i have the file path to be only the .nut file's name as in this thread: https://tf2maps.net/threads/vscript-problem.49929/
And i also get this error when i try to run the helloworld function:
AN ERROR HAS OCCURRED [the index 'helloworld' does not exist]
CALLSTACK
*FUNCTION [main()] InputRunScript line [1]
LOCALS
[vargv] ARRAY
[this] TABLE
Entity Vscript encountered an error in RunScript()
Even though i have the output set up with the "()" at the end of the function's name:
Also this is the code i'm trying to run:
And the script's path: