Originally Posted by spiel2001
Cool... thanks Brillynt.
We can probably work around the taint problem by using the visibility engine in the setup of the frame instead of the Show() / Hide() methods in the update...
Code:
RegisterStateDriver( frame, "visibility", "[target=vehicle, exists] hide; [target=pet, exists] show; hide" );
Code:
if update_state then
for i=1, #frame.Buttons do
frame.updateState( i );
end
end
|
Learn something new everyday, guess I am good for today then.