Author Topic: retrieved variables  (Read 162 times)

ramses0931

  • Newbie
  • *
  • Posts: 6
retrieved variables
« on: July 12, 2018, 02:58:18 am »
Hello,
I've got severals variables into a profile. all of them are "saved to profile"
in my profile initialisation, i've got all the variable with "retrieved from save".
if i restart the profile it works, but when i close Voice Attack and relaunch, some variables are "not set"
Is there a limit for recording variables into a profile ?

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 1703
Re: retrieved variables
« Reply #1 on: July 12, 2018, 06:46:52 am »
There is no limit on the number of variables that can be saved with the profile.  Make sure that the naming is correct and that there is not some other command/plugin/inline function that is altering the variable.

ramses0931

  • Newbie
  • *
  • Posts: 6
Re: retrieved variables
« Reply #2 on: July 13, 2018, 07:17:07 am »
    Set small int (condition) [PROFIL] value to 2 (save value to profile)
    Pause 0,1 seconds
It works when adding a pause between each variable set. No plugin installed.

ex :
 Set small int (condition) [danslevaisseau] value to 1 (save value to profile)
    Pause 0,1 seconds
    Set small int (condition) [debout] value to 1 (save value to profile)
    Pause 0,1 seconds
    Set small int (condition) [vol_pret] value to 0 (save value to profile)
    Pause 0,1 seconds
    Set small int (condition) [demarrage] value to [Not Set] (save value to profile)
    Pause 0,1 seconds


Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 1703
Re: retrieved variables
« Reply #3 on: July 13, 2018, 10:24:13 am »
Just something to note is that when variables are saved with the profile, the save is not actually performed until either the profile is changed, refreshed or VoiceAttack is closed.  This is for performance reasons.