redeclipse / base

Base environment for Red Eclipse and associated source files.
https://redeclipse.net/
431 stars 88 forks source link

add temporary loadout #1567

Open nochinator opened 1 month ago

nochinator commented 1 month ago

Fixes #1363

Changes proposed in this request:

qreeves commented 1 month ago

You don't need to have engine code for this. You can make a persistent string variable with: defsvarp name value

nochinator commented 1 month ago

should clarify the last commit name, undid changes to client.cpp, nothing else

nochinator commented 1 month ago

after further testing it seems like persistent variables made with defsvarp is not avalible in the normal way you get an svar ($varname), doing so throws an error in the console that the variable names alias can't be found. after looking at how other scritps get an svar made in this way it seems like it this is the correct way to get such a variable. it also appears that I am defining it correctly. defining it before the usage does not change anything. could someone check my usage?