OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: RedHouse on 21 Sep 2005, 15:00:58

Title: Set a default value for a slider
Post by: RedHouse on 21 Sep 2005, 15:00:58
Is it possible to set a default value for a slider, so when you create the dialog it doesnt start on 0?
Title: Re:Set a default value for a slider
Post by: THobson on 22 Sep 2005, 11:51:15
If you mean by default - the staring position of the slider try:

sliderSetPosition [idc,position]

immediately after opening the dialog
Title: Re:Set a default value for a slider
Post by: RedHouse on 22 Sep 2005, 23:30:54
thanks for your help. Thats the final thing i need to complete my camera script