r/Tf2Scripts • u/c001_b01 • May 02 '23
Question Get value from setinfo?
I just started learning tf2 scripting and I already have a lot of experience with coding but I’m baffled by how tf2 script variables work if they even exist.
I’m just making a test script where your viewmodel gets disabled if you have your melee out and I need to keep track of the current weapon since using invlast for example makes it so just binding 3 to disable the viewmodel wont work.
I just found out about setinfo but I can’t find anything along the lines of “getinfo.”
How do variables work if at all?
9
Upvotes
View all comments
Show parent comment
1
u/kurokinekoneko May 04 '23
Lol I didn't knew Scalu
seems very complicated ; but I have to try
The nullmovement script seems a lot more complicated in scalu than in cfg script...
Thank you for sharing the tip