jim87
New Member
- Joined
- Aug 26, 2011
- Messages
- 445
- Reaction score
- 7
Hello! I've realised a simple method in my Utils class:
This should change the status text at the bottom of HonorBuddy's main window, but there seems to be some "delay", that is HB will show the previous StatusText changed, at least in that way - maybe there's already a delegate method in Styx I've missed in order to change it correctly? The debug log shows it correctly, for example:
And at the bottom of the bot window it is written "blahblah1" and it won't change untill another call of the method.
here is the full log, if it may be of help: View attachment 28-10-2011_15.35 2212 Log.txt
PHP:
public static void changeStatusText(string text)
{
Styx.Logic.BehaviorTree.TreeRoot.StatusText = text;
}
This should change the status text at the bottom of HonorBuddy's main window, but there seems to be some "delay", that is HB will show the previous StatusText changed, at least in that way - maybe there's already a delegate method in Styx I've missed in order to change it correctly? The debug log shows it correctly, for example:
Code:
... snippet of cast things and others...
[hh:mm:ss:milli] Activity: blahblah1
[hh:mm:ss:milli] Activity: blahblah2
here is the full log, if it may be of help: View attachment 28-10-2011_15.35 2212 Log.txt