hoknamahn Posted December 16, 2004 Share Posted December 16, 2004 Hi, guys! How to assign a value of some parameter of custom panel to any "global" HScript variable? For example, my custom panel have a slider "Ship Direction". And scene consists HScript variable SHIP_DIR. Is it possible to get value of that slider and assign it to SHIP_DIR? Quote Link to comment Share on other sites More sharing options...
hoknamahn Posted December 17, 2004 Author Share Posted December 17, 2004 Oh, never mind. The answer already found Quote Link to comment Share on other sites More sharing options...
aracid Posted December 17, 2004 Share Posted December 17, 2004 hey hoknamahn as a matter of interest how did u get that right? Quote Link to comment Share on other sites More sharing options...
hoknamahn Posted December 17, 2004 Author Share Posted December 17, 2004 We can get the value of any interface element of custom panel from $V variable (i think it's local variables). Each element has field Script, in which it is possible to prescribe something like setenv SHIP_DIR=$V But there is one strangeness - a change in the value of slider during the playback of scene does not change (i'm not sure) the HScript variable. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.