Macro suggestions
In a project of mine, i have it setup to load a huge ammount of settings from a config file. The plugin can have multiple configurations loaded simultaniously, and can switch between them.
Now im working on having a "macro" thingy, in where the plugin reads from a config file 4 parsed values: Code:
#1. objectCode:
"mapname" "contain" "de_" "4"So, im asking for suggestions on different "objects" and "conditions". Any help is apreciated :) |
Re: Macro suggestions
Here is some very abstract code. It uses simulated structs to organize some stuff. Also, you'll notice that the condition should be parsed from the file and set accordingly (example: if condition is "not_equal" then itsCondition should be set to CONDITION_NOTEQUAL).
Code:
|
Re: Macro suggestions
Zenith77:
Thanks, this will make the code alot clearer. Do you have any suggestions on "objects" that might be of interest? Im kinda stuck on mapname, and have run out of ideas. |
Re: Macro suggestions
You can use/set it up the same way I did with conditions.
|
| All times are GMT -4. The time now is 04:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.