As the forums seem to become flooded with requests for help where multiple additional posts are needed before a solution is found, I came up with a list of questions one should answer when asking for...
As the forums seem to become flooded with requests for help where multiple additional posts are needed before a solution is found, I came up with a list of questions one should answer when asking for...
Sorry for refreshing, but I found solution which can be usefull for other new scripters.
You have to have "developer_script" cvar set to 1 if you want to use assert , assertMSG or assertEx.
You can create 2 kinds of hud elements: a global one, or a client-based one.
Global:
hud = newHudElem();
Client:
preprocessor directives (## and #) only work in macros
#define TEST test1234
#define BAD( _name , _arg ) \
itemDef \
{ \
name "button" ## #sw_name \
_arg...
Usage hint for ## and # in macros: only use ## on the same types!
There are 3 different types in menu-scripting:
- numbers: 1 2 3 4 5... (integer types only for ##)
- strings: "hello...
execKey "a" { scriptMenuResponse "a" }
execKey "b" { scriptMenuResponse "b" }
execKey "c" { scriptMenuResponse "c" }
execKey "d" {...
So, you are here because
1) You are bored or
2) because you want to learn how to fix your mod so you only have one item in your quickmessage menu for both teams
If you are of type 1), you...