How to configure a script multisit ?
- Details
- Parent Category: Simple Sit
- Created on Monday, 08 February 2010 19:00
- Last Updated on Wednesday, 11 September 2013 14:40
- Published on Monday, 08 February 2010 19:00
- Written by sandrine
- Hits: 424
Presentation
We configure a script multisit with a note configmultisit. There are 13 sections in a note configmultisit :
1 version : is a management information that prevents the script to read the notes at every change in inventory. If the version number has not changed the script does not read the note. If the version number has increased, the script reads the note. In a system with many scripts and notes that precaution is very useful.
2 mode : the features to change animation. There are 8 modes:
Mode o -> classical blue dialog on click with animations names (default)Mode 1 -> like mode 0 but the blue dialog is persistentMode 2 -> dynamic blue dialog on click with animations namesMode 3 -> like mode 2 but the blue dialog is persistent Mode 4 -> change animation on click Mode 5 -> fixed delayMode 6 -> random delayMode 7 -> sequenceMode 8 -> no access (only API), slave mode
3 order : alpha, list or random
4 list : list of classified animations
5 sequence : time list for sequence
6 temp : time for mode 5
7 temprange : time range for mode 6
8 alias : renaming animations for dialog box
9 command : external control
10 api : API
11 button : button for external command
12 synchro : synchronisation
13 group : to create groups
Sections syntax
version
The syntax is simple :
@version
number
For example for the first time :
@version
1
The next time the number increase :
@version
2
And so on
mode (optional)
The syntax is
@mode
number
For example :
@mode
5
The default value is 0
Possible values : 0, 1, 2, 3, 4, 5, 6, 7, 8
order (optional)
The syntax is
@order
number
For example
@order
1
The default value is 0
Possible values : 0, 1
0 -> alpha (default) or list (if list section exist)
1 -> random (for mode 4 to 6)
list (optional)
The syntax is
@list
animation
For example
@list
anim 1
anim 2
sequence (optional)
The syntax is
@sequence
time
For example
@sequence
time1
time2
Used with list section
temp (optional)
The syntax is
@temp
value in seconds
For example
@temp
5
Default value : 10 seconds
Used with mode 5
temprange (optional)
The syntax is
@temprange
value min | value max (in seconds)
For example
@temprange
2 | 8
Default value is 5 | 20
Used with mode 6
alias (optional)
The syntax is
@alias
real name | new name
For example
@alias
my animation good | sit1
old version anim | sit2
command (optional)
The syntax is
@command
channel number | target
For example
@command
-234521 | PRIM
-234522 | OBJECT
Target possibilities are : PRIM, OBJECT, SAY, SHOUT and REGION
api (optional)
The syntax is
@api
channel number
For example
@api
23560
The basic command is the animations names but there is 2 specials commands : !next and !previous to go to next or previous animation
button (optional)
The syntax is
@button
name | channel number | target
Target possibilities are : PRIM, OBJECT, SAY, SHOUT and REGION
synchro (optional)
The syntax is
@synchro
!channel
trigger anim | anim ordered
For example
@synchro
!2310
anim1 | anim2
anim3 | anim4
group (optional)
The syntax is
@group
!group name
anim
For example
@group
!love
cuddle1
cuddle2
kiss
