I have a profile that I have developed and using in conjunction with the HCS Singularity profile.
The profile essentially uses two variables, which I had originally named with ">>" prefixes, to ensure that they were local to my profile, and would be retained between profile changes. The latter was required to assist in the development and debugging of my profile.
The two integer variables are as follows:
>>CurrentFireGroup
>>LastFireGroup
I set these initially with two commands:
When I Say "The Current Fire Group Is [1..8]"
When I Say "The Last Fire Group Is [1..8]"
Each parses out the number with the CMDSEGMENT token and assigns the value to the corresponding variable. In the assignment command, I have the checkbox set to save the variable's value to the profile.
A further command is defined as follows:
"Fire Group Diagnostics"
When I call this command, it does the following:
* Retrieves the saved state of >>CurrentFireGroup
* Retrieves s the saved state of >>LastFireGroup
(In both cases, I am not checking the box to return zero when not set.)
* Says "The Current Fire Group is X OF Y", using tokens to retrieve the values, and where X and Y are the correct variable values.
This all works fine when I execute the three commands in sequence as above.
If I close out of Voice attack and re-open, however, this is where the issues begin.
* First it launches Singularity.
* I say "Fire Group Diagnostics"
The response is "The Current Fire Group Is X Of Y", where X is usually plus or minus one from the value from the previous session. Y is consistently correct.
If I switch to my profile directly thereafter, repeat the previous "Fire Group Diagnostics" command, both variables are reported as being unset.
If I set Voice Attack to just use my profile as the primary profile, everything works as expected.
I have other commands that utilize these variables, but repeating the steps above is not utilizing any of these, so I would expect there to be no issues with those.
I have been able to run the "Fire Group Diagnostics" command after each of them and the results as as expected.
As a result, I modified the variable name to replace the ">>" characters with "SMG_" (an abbreviation picked to hopefully avoid collision with HCS variables), thereby making them global, in case there was an issue with local variables in included profiles. The result is the same, however.
Any insight/help/tips anyone can offer would be appreciated.
I will provide a trimmed down version of this profile, should anyone Require it.
Thanks in advance for any help or guidance!