Trainz-mp Форум На наших часах: 21.05.2019 9:16:52

Здравствуйте Гость ( Вход | Регистрация ) Куиды Поиск


<kuid:131986:1005> ChangeSVariables

Тип: Команда
Опубликовано: 23.01.2017 1:42:51
Скачиваний: 386
Размер: 15.8 kB
Загрузил: TheAnDav


A Driver schedule command to create and change session variables. The session variables are created by using the InputTable rule (kuid:131986:1012) available on DLS. In order to create (and)or change session variables, do the following steps. (1) Download and install the InputTable rule from the DLS. (2) Edit InputTable rule andtype the following on a new line:


where 'svar' : the command name recognized by the driver schedule command.
'SVNAME' : session variable name
'SVOPER' : arithmetical operations on SVNAME. It be set to 'set' to assigns an integer,
'inc' to increase and 'dec' to decrease value of the session variable..
'SVNUM' : corresponding value to assign, increase, or decrease the svname. Must be an integer.

ex: svar,myvar,set,5 (equivalent to setting myvar=5)
svar,myvar,inc,1 (equivalent to setting myvar=myvar+1)
svar,myvar,dec,1 (equivalent to setting myvar=myvar-1)

(3) Once a set of such command style statements are added to InputTable rule, they will appear once the ChangeSVariables command is launched.

Important: Session variables must be of integer type. DO NOT USE floating point numbers/operations.

NOTE: This command is identical to ChangeSVariablesCommand in TRS2004


changesvariables.texture.txt 41 B 3.8 kB 2.5 kB
tag.tga 64.0 kB
thumbnail.jpg 7.3 kB
Общий объём файлов: 77.7 kB

Версии элемента:
kuid kind name build date size
<kuid:131986:1005> drivercommand ChangeSVariables 2.5 23.01.2017 1:42:51 15.8 kB

kuid author kind name build date size
<kuid:-3:10197> #-3 Unknown
<kuid:-3:10219> #-3 Unknown
<kuid:131986:1012> #131986 Unknown
Всего связей: 3, неизвестных связей: 3

Зависимые элементы:
kuid author kind name build date size
<kuid2:502415:100388:5> BUGOR profile Пасс 52Й Рязань-2 — Ряжск-1 3.7 11.11.2018 22:31:40 1.4 MB
<kuid2:502415:100843:5> BUGOR profile Пасс 51Й Ряжск-1 — Рязань-2 3.7 11.11.2018 22:15:40 1.2 MB
<kuid:502415:105273> BUGOR profile Пасс 132У Рязань-2 — Ряжск-1 3.7 9.02.2019 9:43:10 1.3 MB
<kuid2:651621:100058:2> #651621 profile Вертикаль v.2 3.7 23.01.2017 20:08:09 220.5 kB


Powered by AKR v0.1.2 © Камиль Ахметзянов aka kemal, 2012 - 2018