r/tf2scripthelp • • Nov 25 '16

Resolved Variables

I'm curious, can you create custom variables in scripting? I can't seem to find it. Is it booleans only?

1 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/covert_operator100 Nov 27 '16

Thank you! Can anything read the value of an alias?

(function to return the alias)

1

u/BuildBruh Nov 27 '16 edited Nov 27 '16

As far as practicality goes, there is none. If you want to stretch whats possible, yes but only through the aforementioned AHK voodoo magic they did with CSGO (that I know of). I guesstimate that even if you worked off of what I had above, it'd still take at least 100+ lines of "code" just to get a buggy mess.

MASSIVE EDIT: Holy mother of was I wrong on AHK. It was actually a vscript/.nut script that according to the dev documentation should only work in the newer games.

But.. It is source engine. Always worth a shot, frankly.