I don't know how his scripting system works as I've not really looked at that side of the source before. That being said, my scripts use python so in then I just pass the client calling the script into the script which gives me all the C# functionality that I put into my client class (Handy as I put a bunch of stuff inside that so I can control the client from inside npc scripts easier)Quote:
Okay, this confused me.
How can I add new variables, that I can use in the NPC Scripting?
I tried add it in the Player Interface, but didn't work.
How would I do it? ><
I need the variables to work at the source also, not only in NPCScripting.
The variables are mostly bools and then some few integers.
Thanks :)
#edit
Or how can I connect it to the source, so I can get things from there? >_>
Like if a tournament is running and that you can sign up?
From what I seem to remember though, he has structured ini files that is then processed by C# though doesn't he? There must be handlers inside the source for these command types, why not use those as reference for adding your new variables/checks?