Поддержать проект | Форум trainz-mp.ru | Обратная связь (Ваш вопрос, Создание пакетов) На наших часах: 21.11.2024 19:19:45

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

Репозиторий

<kuid:131986:155583> WaitUntilSVariable

Тип: Команда
Опубликовано: 17.07.2020 9:14:36
Скачиваний: 85
Размер: 19.1 kB

Скачать

A driver schedule command to hold driver schedule command until certain conditions for a selected session variable is reached. These conditions are chosen from the command's menu list and they be inserted into the menu through the WorkTable rule (kuid:131986:230102) available on DLS. Simply download and install the WorkTable rule and add a new line with the following command style template:

svar,SVNAME,SVCOND,SVNUM

Here, 'svar' is a command name that only be recognized by the driver schedule command; 'SVNAME' is the session variable name; 'SVCOND' represents an inequality statement to compare the session variable against a constant. The inequality statement takes one of the following: 'eq' (equal), 'gt' (greater than), 'lt' (less than), 'ge' (greater than or equal to), and 'le' (less than or equal to); and finally 'SVNUm' is an integer constant used for comparison of the session variable.

ex: svar,myvar,eq,0 (equivalent to saying 'wait until myvar=0' to the driver)

ex: svar,myvar,gt,5 (equivalent to saying 'wait until myvar>5' to the driver).

After typing as many such conditional statements as desired on the WorkTable editor, they will show up in the driver's command menu and then the user select one of them.

PREREQUISITE: WorkTable rule
VERSION 0
NOTES: session variables take integer numbers only. Be aware of that.


config.txt:

Файлы:
tag.tga 64.0 kB
waituntilsvariable.texture.txt 41 B
waituntilsvariablecommand.gs 4.5 kB
waituntilsvariableschedulecommand.gs 4.2 kB
Общий объём файлов: 72.8 kB

Версии элемента:
kuid kind name build date size
<kuid:131986:155583> drivercommand WaitUntilSVariable 2.4 17.07.2020 9:14:36 19.1 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:230102:3> #131986 behavior WorkTable 2.4 5.06.2020 18:52:31 27.0 kB
Всего связей: 3, неизвестных связей: 0

Зависимые элементы:
kuid author kind name build date size
Нет

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


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