Need help making a hintSilent toggleable
Working on one of my first Arma/DayZ scripts meant specifically for hacking, and I'm having some problems.
My goal is to make a debug menu only for Standalone, which, to my knowledge, should be unbannable (for now).
I have all the functions required, and I'm essentially done, it's just that I'm not sure how to make the menu itself toggleable.
hint "Debug menu executed"
hintSilent "Press M to show debug montior"
I'd like to put these hints in after executing the monitor code, just to confirm that everything is working.
I realized that without a toggle the hintSilent at the bottom would interfere with the debug monitor in place, either overlapping it or replacing it.
So, in a nutshell, I'd like to know how to toggle a hintSilent command using Arma scripting.
My monitor is going to be fairly basic for now, adding more stuff in later and potentially hacks
Right now I have an FPS counter, blood counter, health counter, and a database coordinates locator using getPosASL Player
If there's another way it could be done in the sense of hinting in game that the code was executed without causing any other problems such as overlapping or replacing each other, let me know.
I'm also open to criticism and other constructive advice.
Thanks guys!
My goal is to make a debug menu only for Standalone, which, to my knowledge, should be unbannable (for now).
I have all the functions required, and I'm essentially done, it's just that I'm not sure how to make the menu itself toggleable.
hint "Debug menu executed"
hintSilent "Press M to show debug montior"
I'd like to put these hints in after executing the monitor code, just to confirm that everything is working.
I realized that without a toggle the hintSilent at the bottom would interfere with the debug monitor in place, either overlapping it or replacing it.
So, in a nutshell, I'd like to know how to toggle a hintSilent command using Arma scripting.
My monitor is going to be fairly basic for now, adding more stuff in later and potentially hacks
Right now I have an FPS counter, blood counter, health counter, and a database coordinates locator using getPosASL Player
If there's another way it could be done in the sense of hinting in game that the code was executed without causing any other problems such as overlapping or replacing each other, let me know.
I'm also open to criticism and other constructive advice.
Thanks guys!