Строка 432: |
Строка 432: |
| |- | | |- |
| | <tt>move {{t|actor}} {{t|x}} {{t|y}} {{t|facing}} {{t|continue}}</tt> | | | <tt>move {{t|actor}} {{t|x}} {{t|y}} {{t|facing}} {{t|continue}}</tt> |
− | | Make a named NPC move by the given tile offset from their current position (along one axis ''only''), and face the given [[#Directions|direction]] when they're done. To move along multiple axes, you must specify multiple <tt>move</tt> commands. By default the event pauses while a move command is occurring, but if {{t|continue}} is set to ''true'' the movement is asynchronous and will run simultaneously with other event commands. | + | | Смещает NPC (вдоль ''только'' одной оси), поворачивает лицом в заданном [[#Направления|направлении]]. Чтобы перемещаться по нескольким осям, необходимо указать несколько <tt>move</tt> команд. По умолчанию событие приостанавливается во время выполнения команды перемещения, но если {{t|continue}} равно ''true'', перемещение происходит асинхронно и будет выполняться одновременно с другими командами события. |
| |- | | |- |
| | <tt>pause {{t|duration}}</tt> | | | <tt>pause {{t|duration}}</tt> |
− | | Pause the game for the given number of milliseconds. | + | | Приостанавливает игру на заданное количество миллисекунд. |
| |- | | |- |
| | <tt>playMusic {{t|track}}</tt> | | | <tt>playMusic {{t|track}}</tt> |
− | | Play the specified music track ID. If the track is 'samBand', the track played will change depend on certain dialogue answers (76-79). | + | | Воспроизводит музыкальную дорожку с указанным ID. Если трэк равен 'samBand', воспроизводимый трек будет меняться в зависимости от определенных диалоговых ответов (76-79). |
| |- | | |- |
| | <tt>playSound {{t|sound}}</tt> | | | <tt>playSound {{t|sound}}</tt> |
− | | Play a given sound ID from the game's sound bank. | + | | Воспроизводит звук с заданным ID из звукового банка игры. |
| |- | | |- |
| | <tt>playerControl</tt> | | | <tt>playerControl</tt> |
− | | Give the player control back. | + | | Вернуть игроку контроль. |
| |- | | |- |
| | <tt>positionOffset {{t|actor}} {{t|x}} {{t|y}}</tt> | | | <tt>positionOffset {{t|actor}} {{t|x}} {{t|y}}</tt> |
− | | Offset the position of the named NPC by the given number of pixels. This happens instantly, with no walking animation. | + | | Смещение положения NPC на заданное количество пикселей. Происходит мгновенно, без анимации ходьбы. |
| |- | | |- |
| | <tt>proceedPosition {{t|actor}}</tt> | | | <tt>proceedPosition {{t|actor}}</tt> |
− | | TODO: Explain | + | | TODO: Описание |
| |- | | |- |
| | <tt>question null "{{t|question}}#{{t|answer1}}#{{t|answer2}}"</tt> | | | <tt>question null "{{t|question}}#{{t|answer1}}#{{t|answer2}}"</tt> |
− | | Show a dialogue box with some answers and an optional question. When the player chooses an answer, the event script continues with no other effect. | + | | Показать диалоговое окно с некоторыми ответами и необязательным вопросом. Когда игрок выбирает ответ, сценарий события продолжается без какого-либо другого эффекта. |
| |- | | |- |
| | <tt>question fork{{t|answer index}} "{{t|question}}#{{t|answer 0}}#{{t|answer 1}}#..."</tt> | | | <tt>question fork{{t|answer index}} "{{t|question}}#{{t|answer 0}}#{{t|answer 1}}#..."</tt> |