PDA

View Full Version : "Hello World!" doesn't work.



MooCow
January 14th, 2020, 20:14
I see no output in the chat or in the console, when running this script, or variations of it. It's defined within a <windowclass>, right after a script file call. Various variations of this, yields no response either. Do I have to enable some applications options flag somewhere?


<script>
onInit()
Debug.chat("Hello world!");
Debug.console("Hello world!");
print("Hello World Print!");
end
</script>

MooCow
January 14th, 2020, 22:58
Post deleted - I was wrong.

MooCow
January 14th, 2020, 23:47
Oh, I figured it out: If there's a designated script file ("<script file="campaign/scripts/table_main.lua" />") then, for some reason, no in-line scripts are valid anymore. I sort of got it to work now. ... Sure. Whatever.