Thanks for your time, Tarzan. I went ahead and put that line in but the variable still isn't being printed.
(global real variable 5)
(script startup test
(sleep 300)
(sv_say "lets print our variable")
(inspect variable)
)
I also tried making it continuous.
(global real variable 5)
(script continuous test
(sleep 300)
(sv_say "lets print our variable")
(inspect variable)
)
Everything compiles and part of it even runs. The sv_say works everytime but theres just no variable getting printed out.
I'm going to try this script in another map to see if that helps, though I don't why it should. If that doesn't work then I'm out of ideas again.
*Edit*
I went ahead and tried it in a bg scenario file. Compiled it and the sv_say works ingame but inspect does not. This is driving me crazy. Do I need to reinstall something? Everything else works though, even some of the other scripts I've tried. I use Kornman's version of the Hek.
Edited by SGWraith on Aug 7, 2007 at 02:03 PM *Edit 2*
I just tried this version:
(global string variable "5")
(script continuous test
(sleep 300)
(sv_say "lets print our variable")
(inspect variable)
(sv_say "Now trying with sv_say")
(sv_say variable)
)
Inspect still doesn't print but at least I know the variable was made. I've tried compiling the scripts with regular sapien, starting halo in devmode, and the results are still the same. I'm starting to wonder if this command is dedicated server only but that doesn't make much sense since it isn't labeled that way in the hs_doc and no tutorial that used it ever said so.
Edited by SGWraith on Aug 7, 2007 at 02:35 PM