Possible? Cmd+Define
#1

Is it possible to change a '#define' via command in ingame? I dont think so, but maybe theres a option to do?
Reply
#2

Depends on what you want to change it to. IE: Integer or String.
Reply
#3

Quote:
Originally Posted by Krx17
Посмотреть сообщение
Depends on what you want to change it to. IE: Integer or String.
No, its not possible. Defines are preprocessor text replacements, meaning all they do is replace text during compile time.


You should use a variable instead of a define if you want to change the value during run-time.
Reply
#4

No, its not as #define is handled by the pre-processor (before the script is compiled). Use variables.
Reply
#5

Ok. Thanks for the information.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)