If you lock a variable to an expression containing an element with a suffix, that element including the suffixes will always stay at the same value as it was when the variable was locked first.
For example the code
lock pro to prograde.
will always update when printing the value with print pro., while the code
lock pro to prograde:pitch.
will always show the same value when printing it;
lock v to velocity:orbit:mag / verticalspeed.
will only update v with the vertical speed, not the orbital speed.
While i was yet unable to find the reason why it doesn't update these, i found out that this only happens while using suffixes.
If you lock a variable to an expression containing an element with a suffix, that element including the suffixes will always stay at the same value as it was when the variable was locked first.
For example the code
will always update when printing the value with print pro., while the code
will always show the same value when printing it;
will only update v with the vertical speed, not the orbital speed.
While i was yet unable to find the reason why it doesn't update these, i found out that this only happens while using suffixes.