Thanks to all a while ago I got a grip on how G:Vars work.
I have a few follow up questions if that's OK.
1) Can I have a G:Var in one part block of code 'sent' values from another part block of code?
I.E.
If conditions for one animated part are right then do something in that block of code but set the value of a G:Var in another block of code for a separate part.
Hope that makes sense!
2) Assuming the above is OK, can I do multiple assigns...
I.E.
(A:VELOCITY BODY Z,knots) 25 < if{ 0 (>G:Var2) 0 (>G:Var3) 0 } els{ do something else }
So if 'speed' is 25kts or less then change the value G:Var2 (in this parts code) and G:Var3 (for another parts code) to 0 and return 0.
3) case operator syntax - 3 possible values
100 50 0 3 (G:Var3) case
Cheers
I have a few follow up questions if that's OK.
1) Can I have a G:Var in one part block of code 'sent' values from another part block of code?
I.E.
If conditions for one animated part are right then do something in that block of code but set the value of a G:Var in another block of code for a separate part.
Hope that makes sense!
2) Assuming the above is OK, can I do multiple assigns...
I.E.
(A:VELOCITY BODY Z,knots) 25 < if{ 0 (>G:Var2) 0 (>G:Var3) 0 } els{ do something else }
So if 'speed' is 25kts or less then change the value G:Var2 (in this parts code) and G:Var3 (for another parts code) to 0 and return 0.
3) case operator syntax - 3 possible values
100 50 0 3 (G:Var3) case
Cheers


