Please, how to work with variables?
i need parse a imputed slider value to a variable…
how to do it??
Please, how to work with variables?
i need parse a imputed slider value to a variable…
how to do it??
do you mean you need to get the value of the slider ?
I havn’t had the opp to use sliders yet.
You could use IGet,
Actually I beleive they have a commands group that can be called when it is changed.
Just have a VarSet command in there with the IGet of the slider.
Explain better, please…
MZ,
You probably should download These ZIP files of Davey’s introductory tutorials. Lesson two is entirely dedicated to using the ISlider command. All four will help you get into writing scripts a lot quicker than the following endless loop:
1 Ask a ZScript forum question
2 Wait for another ZScript forum user to answer
3 Ask for a ZScript forum clarification
4 Post an example of a ZScript that doesn’t work
5 Having someone post an example of how to fix your ZScript
6 Go to 1
Sven
Thanks friend!!
i will download now…
Just played with it.
[ISlider,Slider1,10,1,0,500,
"Popup info Text",[IShowActions,0][ISet,ZScript:Slider2,[IGet,ZScript:Slider1]][IShowActions,1],,]
[ISlider,Slider2,10,1,0,500,
"Popup info Text",[IShowActions,0][ISet,ZScript:Slider1,[IGet,ZScript:Slider2]][IShowActions,1],,200]
// Or Use This Code I preferr to use Quotes,In case I have spaces, like "ZScript:slider with space", they make me nervous
[ISlider,“Slider1”,10,1,0,500,
“Popup info Text”,[IShowActions,0][ISet,“ZScript:Slider2”,[IGet,“ZScript:Slider1”]][IShowActions,1],]
Cool!
i learned variables now…
thanks
i wrote a script that uses variables!
follow the link
http://www.zbrushcentral.com/zbc/showthread.php?p=215399#post215399
thanks for explanations, again!