Sign in to follow this  
Guest Patrick_Waugh

Luminous="(G:Var1)"

Recommended Posts

can an image attribute be variable ?if so how do i write it. i am specifically interested in bright and luminous

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

If you figure out how to set attributes dynamically in XML for FS9, please post how you do it! Some of the most brilliant minds in XML, C++ and RPN stack syntax have beaten their heads on the desk over this one until their forheads are calloused... literally for at least the last couple of years.We're hoping it will come in FSX, but no one seems to know if that's going to make it into the changes for FSX or not.Scott / Vorlin

Share this post


Link to post
Share on other sites

As you are working in XML, you can't dynamically change the attribute.What you do instead is approach the problem from a different perspective.You create multiple elements, with the attributes you need, then select dynamically from among them with using the value of a variable.For example: @isFloatArmedCautionAnd just add cases. You could also use the tag.Good luck.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this