Trainz-mp Главная | Форум trainz-mp.ru | Обратная связь (Ваш вопрос, Создание пакетов) На наших часах: 25.04.2024 8:31:01

Здравствуйте Гость ( Войти через форум ) Авторизовавшись Вы сможете загружать сюда любые зависимости формата .CDP для игры Trainz Куиды Поиск

Репозиторий

<kuid:131986:1005> ChangeSVariables

Тип: Команда
Опубликовано: 26.04.2023 13:14:28
Скачиваний: 293
Размер: 15.8 kB

Скачать

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:

svar,SVNAME,SVOPER,SVNUM

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


config.txt:

Файлы:
changesvariables.texture.txt 41 B
changesvariablescommand.gs 3.8 kB
changesvariablesschedulecommand.gs 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 26.04.2023 13:14:28 15.8 kB

Зависимости:
kuid author kind name build date size
<kuid:-3:10197> #-3 library ПеременныеСессии 0 2.07.2020 9:39:31 257 B
<kuid:-3:10219> #-3 library Звуковые команды 0 1.07.2020 12:56:36 8.4 kB
<kuid2:131986:1012:1> #131986 behavior InputTable 2.5 18.04.2023 15:34:16 22.3 kB
Всего связей: 3, неизвестных связей: 0

Зависимые элементы:
kuid author kind name build date size
<kuid2:458053:102533:1> #458053 profile Enez Strizhenn : the Auction 4.7 26.07.2023 20:24:53 238.3 kB
<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:100031:4> a605 profile ВЛАДИК 3.7 8.03.2024 12:12:31 440.6 kB
<kuid:651621:100037> a605 profile Трудяга 5 8.03.2024 12:08:39 1.3 MB
<kuid2:651621:100058:5> a605 profile Вертикаль 3.7 16.05.2023 15:52:36 203.9 kB
<kuid2:651621:100116:4> a605 profile На выручку 3.7 30.04.2023 14:59:15 356.4 kB
<kuid:651621:100148> a605 profile Стечение обстоятельств 5 17.07.2023 7:43:39 2.0 MB
<kuid2:651621:100148:1> a605 profile Стечение обстоятельств 5 13.04.2024 10:48:18 2.0 MB
<kuid2:651621:100323:2> a605 profile Сибайский тихоход 5 8.03.2024 11:22:24 2.9 MB
<kuid2:651621:100362:5> a605 profile Толкач 3.7 9.03.2024 8:46:49 557.6 kB
<kuid:651621:100432> a605 profile ТОЛКАЧ новый 3.7 8.03.2024 12:30:23 477.8 kB
<kuid:651621:100441> a605 profile Медвежий угол 3.7 8.03.2024 13:49:34 240.1 kB
<kuid2:651621:100483:4> a605 profile МАГИСТРАЛЬ 3.7 8.03.2024 12:18:17 430.5 kB
<kuid2:651621:100498:1> a605 profile МАГИСТРАЛЬ специальная версия с ВЛ10 3.7 30.03.2024 23:30:02 404.9 kB

Яндекс.Метрика


Powered by AKR © Камиль Ахметзянов aka kemal, 2011 - 2024