Author Topic: Creating Variables !  (Read 1935 times)

pscammp

  • Guest
Creating Variables !
« on: April 09, 2018, 07:28:45 PM »
Hello all,

I've had a bit of a play and cant work out how to do this......

When VA first starts, I want to create an INT variable and initially set it to Zero, OR, a Boolean set to false, this variable will need to be active until VA is closed down and be changeable by some of my custom commands while playing Elite Dangerous. I use ASTRA if it makes any difference.

How do I do it please if anyone can help ?

Many Thanks
Paul

iceblast

  • Sr. Member
  • ****
  • Posts: 374
Re: Creating Variables !
« Reply #1 on: April 09, 2018, 11:59:17 PM »
Sorry, I had just gotten up, and wasn't thinking straight apparently, so  I had to edit this post. ;)

Make a command with your variable in it. Then set it to load when the profile starts.

Edit the profile where your variable command is. At the top you'll see a square with a check in it.



Click on it.

Then down near the middle of the profile options menu you'll see. Execute command each time this profile is loaded.



Use the drop down menu, and select the command with your variable in it.

Now when you start this profile, it will set the variable.

You can also Add the profile to start when VA starts.

On the Right bottom corner of VA click the

Then under General, go down near the middle you'll see, Load Profile on Startup.

Use the drop down menu, and pick the profile you want to be loaded.

« Last Edit: April 10, 2018, 12:30:04 AM by iceblast »