vsTASKER 7 User Manual
×
Menu
Index

Properties

 
Properties
1

Name

1. Name
Name of the Slider. Must be unique whatever its type.
vsTASKER will generate a class whose name will be <Name>_Spt. For the moment, this class will inherit from Vt_Sprite class.
Any Sprite can be accessed using its name in a generated union named s.
 
2

Style

2. Style
Select here the type of motion to apply to the cursor, vertical or horizontal.
 
3

Minimum

3. Minimum
Set here the Offset value of the Minimum blue hook (you can also use the mouse for that) and its corresponding Value.
 
4

Maximum

4. Maximum
Set here the Offset value of the Maximum green hook (you can also use the mouse for that) and its corresponding Value.
 
5

Visual Aspect

5. Visual Aspect
Use this button to load the cursor texture that slide between the Minimum and Maximum values.
 
6

Background

6. Background
Deprecated !
 Only visible on database which have defined a background for Slider sprites. It is advised to create a separate TexShape sprite to hold the background.
 Create a TexShape with the same texture (the button is here to let you know which one is used), then delete the texture in this sprite. The button will later go.
 
7

Import/Export

7. Import/Export
Not available yet.
 
8

Definitions

8. Definitions
Put here all the local variables needed for this specific Slider runtime.
 
9

Initialization

9. Initialization
Initialize here (mostly in RESET part) all the variables defined in Definition section.
Default set() can also be used here for putting the Slider at a specific position between Minimum and Maximum values.
 
10

Runtime

10. Runtime
The runtime code is called every time the cursor is touched by the mouse.
Use get() to retrieve the actual value of the Slider according to its position set by the mouse.