Question About Script Calls

Discussion in 'Off Topic' started by kiski, Aug 28, 2018.

  1. kiski

    kiski Member

    Joined:
    Apr 27, 2018
    Messages:
    86
    Likes Received:
    56
    Good day, I would like to ask what´s the difference between SetControlValue and SetControlTargetValue calls? I´m just asking because suddenly a SetControlValue call stopped working for me (don´t know the reason, it´s just simply not working in anything new I add to the script, but previously built functions still works with this type of call..) but SetControlTargetValue is working still... Thanks for the answer.

    P.S.: Couldn´t find a proper section so I put it here... If it´s bad, then please admin move it to right place...
     
    • Like Like x 1
  2. danh2903

    danh2903 Member

    Joined:
    Dec 15, 2016
    Messages:
    9
    Likes Received:
    44
    So Call("SetControlValue","<Control>",index,value) is just straight setting a control value to a certain value.
    I believe Call("SetControlTargetValue","<Control>",index,value) is setting it to that value but in a smooth manner, not just jumping straight to it??
    Im not 100% sure on the last one as i dont really ever use it. Hope this helps :)
     

Share This Page