Author Topic: retrieved variables  (Read 2117 times)

ramses0931

  • Guest
retrieved variables
« on: July 12, 2018, 03: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: 2832
Re: retrieved variables
« Reply #1 on: July 12, 2018, 07: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

  • Guest
Re: retrieved variables
« Reply #2 on: July 13, 2018, 08: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: 2832
Re: retrieved variables
« Reply #3 on: July 13, 2018, 11: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.