I want to use a slider system similar to deponia ... can't see how to do this within V.S so I'm guessing it needs to be done with LUA?
I've been looking at the scripting/data structure wiki pages but all I'm seeing is a load of text & bright colors
Could anyone please tell me how to achieve this or give me some examples of LUA Script with detailed comments?
Much appreciated.
Cheers
I used to be quite proficient at German many a blue moon ago (10+ years ago) but I haven't used it since I finished high-school & I have really bad memory for things I haven't used in a while.
I'm sure I can work from the example mind as code is universally in english
*yeah I can use that seeing as it's only the code I needed!
If you want the slider to stop when dragging the cursor away, you should take the action parts that can be found in the "Left mouse button hold (button released)" action and copy them into the three "Cursor leaves object area" actions for the scene objects "Musik - Regler", "Sound - Regler", and "Sprache - Regler" in the "Lautstärke" scene.
Hope this makes sense. :-)
I've been changing it into English too so I will upload it when I'm done with comments of what I changed etc - rough though as some words didn't translate perfectly so I changed them to what I think fits best ...
btw you misspelled Schrieben? as Schieben which wouldn't translate obviously I figured it meant to write/draw so I did a reverse English to German & it said Schrieben ...
Cheers again
also the vol - (minus) + (plus) buttons play sound/voice each time you click them.
I added the quit actions like you said to the mouse out bits & some other bits & bats ...
I will have a look at the config ini thing the morrow
"Schieben" means "to push / to slide". (http://dict.leo.org/?lp=ende&from=fx3&search=schieben)
your English is about infinity % better than my German - haha.
I got the variable & function names sorted apart from the "schieben" obviously & one other "GehaltenStandard" but gehalten translated as held/hold so I presume it's to do with delay time of mouse button held before it registers as it's being held !? (something along those lines anyway)
Make good use of it.