Reply to Re: Recent Release: Historical Hero II
If you don't have an account, just leave the password field blank.
December 22nd 2012, 07:01 AM
shevek
Is there a way to check the value of a variable in-game
The "official" way would be to put this in some function which you can trigger:
which will write this line (with the variable substituted) into a file (and for freedink also the terminal, which is much more useful) if debugging is enabled.
However, the simpler way that everyone is using AFAIK, is to use:
which makes Dink say it, and you don't have to search for the file or go to debug mode.
You can put the code in dnotalk.c, for example. Then when talking to "nothing", it will say this instead of the usual "I'm bored" etc.
The "official" way would be to put this in some function which you can trigger:
debug ("the current values is &troph7.");
which will write this line (with the variable substituted) into a file (and for freedink also the terminal, which is much more useful) if debugging is enabled.
However, the simpler way that everyone is using AFAIK, is to use:
say ("the current value is &troph7", 1);
which makes Dink say it, and you don't have to search for the file or go to debug mode.
You can put the code in dnotalk.c, for example. Then when talking to "nothing", it will say this instead of the usual "I'm bored" etc.