Изменения

Перейти к навигации Перейти к поиску
Строка 456: Строка 456:  
|-
 
|-
 
| <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>
| Show a dialogue with some answers and an optional question. When the player chooses the answer matching the <tt>fork{{t|answer index}}</tt> (like <tt>fork0</tt> for the first answer), the <tt>specialEventVariable1</tt> variable is set. Usually followed by a <tt>fork</tt> command.
+
| Показать диалог с некоторыми ответами и необязательным вопросом. Когда игрок выбирает ответ, соответствующий <tt>fork{{t|answer index}}</tt> (<tt>fork0</tt> для первого ответа),<tt>specialEventVariable1</tt> заданной переменной.Обычно за этим следует <tt>fork</tt> команд.
 
|-
 
|-
 
| <tt>quickquestion "#{{t|question1}}#{{t|question2}}#{{t|question3}}(break){{t|command}}#{{t|answer1 script}}(break){{t|answer2 script}}(break){{t|answer3 script}}\\"</tt>
 
| <tt>quickquestion "#{{t|question1}}#{{t|question2}}#{{t|question3}}(break){{t|command}}#{{t|answer1 script}}(break){{t|answer2 script}}(break){{t|answer3 script}}\\"</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>removeItem {{t|object ID}}</tt>
 
| <tt>removeItem {{t|object ID}}</tt>
| Remove the first of an object from a player's inventory.
+
| Удалить первый предмет из инвентаря игрока.
 
|-
 
|-
 
| <tt>removeObject {{t|x}} {{t|y}}</tt>
 
| <tt>removeObject {{t|x}} {{t|y}}</tt>
| Remove the prop at a position.
+
| Удалить опору в указанных координатах.
 
|-
 
|-
 
| <tt>removeQuest {{t|quest ID}}</tt>
 
| <tt>removeQuest {{t|quest ID}}</tt>
| Remove the specified quest from the quest log.
+
| Удалить указанный квест из журнала заданий.
 
|-
 
|-
 
| <tt>removeSprite {{t|x}} {{t|y}}</tt>
 
| <tt>removeSprite {{t|x}} {{t|y}}</tt>
| Remove the temporary sprite at a position.
+
| Удалить временный спрайт в указанных координатах.
 
|-
 
|-
 
| <tt>removeTemporarySprites</tt>
 
| <tt>removeTemporarySprites</tt>
| Remove all temporary sprites.
+
| Удалить все временные спрайты.
 
|-
 
|-
 
| <tt>removeTile {{t|x}} {{t|y}} {{t|layer}}</tt>
 
| <tt>removeTile {{t|x}} {{t|y}} {{t|layer}}</tt>
| Remove a tile from the specified layer.
+
| Удалить плитку на указанном слое.
 
|-
 
|-
 
| <tt>resetVariable</tt>
 
| <tt>resetVariable</tt>
| Set the first event variable to false.
+
| Установить для первой переменной события значение false.
 
|-
 
|-
 
| <tt>rustyKey</tt>
 
| <tt>rustyKey</tt>
| Gives the player the rusty key. (Sewer key)
+
| Дать игроку ржавый ключ. (Ключ от канализации)
 
|-
 
|-
 
| <tt>screenFlash {{t|alpha}}</tt>
 
| <tt>screenFlash {{t|alpha}}</tt>
| Flashes the screen white for an instant. An alpha value from <tt>0</tt> to <tt>1</tt> adjusts the brightness, and values from <tt>1</tt> and out flashes pure white for <tt>x</tt> seconds.
+
| На мгновение экран становится белым. Альфа-значение изменяется от <tt>0</tt> до <tt>1</tt> регулируя яркость, вспыхивает чистым белым светом за <tt>x</tt> секунд.
 
|-
 
|-
 
| <tt>setRunning</tt>
 
| <tt>setRunning</tt>
| Set the player as running.
+
| Заставить игрока бежать.
 
|-
 
|-
 
| <tt>shake {{t|actor}} {{t|duration}}</tt>
 
| <tt>shake {{t|actor}} {{t|duration}}</tt>
| Shake the named NPC for the given number of milliseconds.
+
| Встряхивает указанного NPC в течение заданного количества миллисекунд.
 
|-
 
|-
 
| <tt>showFrame farmer flip</tt>
 
| <tt>showFrame farmer flip</tt>
| Flip the farmer's current sprite along the Y axis. TODO: Behavior with farmer looks strange?
+
| Перевернуть текущий спрайт игрока вдоль оси y. TODO: Поведение игрока выглядит странно?
 
|-
 
|-
 
| <tt>showFrame {{t|actor}} {{t|frame ID}}</tt>
 
| <tt>showFrame {{t|actor}} {{t|frame ID}}</tt>
| Set the named NPC's current frame in their <tt>Content\Characters\*.xnb</tt> spritesheet. Note that setting the farmer's sprite only changes ''parts'' of the sprite (some times arms, some times arms and legs and torso but not the head, etc). To rotate the whole sprite, use ''faceDirection farmer {{t|0/1/2/3}}'' first before modifying the sprite with ''showFrame''. Frame ID starts from 0. If farmer is the one whose frame is being set, "farmer" can be eliminated, i.e. both <tt>showFrame farmer {{t|frame ID}}</tt> and <tt>showFrame {{t|frame ID}}</tt> would work.
+
| Установить текущий кадр NPC из его <tt>Content\Characters\*.xnb</tt> спрайт-листа. Обратите внимание, что настройка спрайта игрока изменяется только ''частями'' (иногда руки, ноги и туловище, но не голова и т.д.). Чтобы повернуть весь спрайт, используйте ''faceDirection farmer {{t|0/1/2/3}}'', прежде чем изменять спрайт с помощью''showFrame''. ID кадров начинаются с 0. Если изменяется кадр игрока, "farmer" может быть исключен, т.е. будут работать как <tt>showFrame farmer {{t|frame ID}}</tt>, так и <tt>showFrame {{t|frame ID}}</tt>.
 
|-
 
|-
 
| <tt>showRivalFrame {{t|frame}}</tt>
 
| <tt>showRivalFrame {{t|frame}}</tt>
| Set the 'rival' actor's sprite to a specific frame.
+
| Установить 'rival' спрайт актера в определённый кадр.
 
|-
 
|-
 
| <tt>skippable</tt>
 
| <tt>skippable</tt>
| Allow skipping this event.
+
| Разрешить пропустить это событие.
 
|-
 
|-
 
| <tt>speak {{t|character}} "{{t|text}}"</tt>
 
| <tt>speak {{t|character}} "{{t|text}}"</tt>
| Show dialogue text from a named NPC; see [[#Dialogue format|dialogue format]].
+
| Показать текст диалога от NPC; смотри [[#Формат диалога|формат диалога]].
 
|-
 
|-
 
| <tt>specificTemporarySprite {{t|sprite}} {{o|other params}}</tt>
 
| <tt>specificTemporarySprite {{t|sprite}} {{o|other params}}</tt>
| Shows the given temporary sprite. Parameters change depending on the sprite.
+
| Показывает текущий временный спрайт. Параметры меняются в зависимости от спрайта.
 
|-
 
|-
 
| <tt>speed farmer {{t|modifier}}</tt>
 
| <tt>speed farmer {{t|modifier}}</tt>
| Add a speed modifier to the farmer. Is persistent and you will have to use the command again to return to normal speed.
+
| Добавьте модификатор скорости к фермеру. Модификатор является постоянным, чтобы вернуться к нормальной скорости необходимо снова использовать команду.
 
|-
 
|-
 
| <tt>speed {{t|actor}} {{t|speed}}</tt>
 
| <tt>speed {{t|actor}} {{t|speed}}</tt>
| Sets the named NPC's speed (default speed is 3). Not applicable to the farmer. Applies only through the end of the next movement or animation on that NPC.
+
| Задает скорость NPC (по умолчанию скорость равна 3). Не применимо к игроку. Применяется только до конца следующего движения или анимации NPC.
 
|-
 
|-
 
| <tt>splitSpeak {{t|actor}} "{{t|text}}"</tt>
 
| <tt>splitSpeak {{t|actor}} "{{t|text}}"</tt>
| Dialogue, but chosen based on previous answer. ('~' is the separator used.)
+
| Диалог, выбранный на основе предыдущего ответа. ('~' используется как разделитель.)
 
|-
 
|-
 
| <tt>startJittering</tt>
 
| <tt>startJittering</tt>
| Make the player start jittering.
+
| Заставить игрока дрожать.
 
|-
 
|-
 
| <tt>stopAdvancedMoves</tt>
 
| <tt>stopAdvancedMoves</tt>
| Stop movement from advancedMove.
+
| Остановить advancedMove.
 
|-
 
|-
 
| <tt>stopAnimation farmer</tt>
 
| <tt>stopAnimation farmer</tt>
| Stop the farmer's current animation.
+
| Остановите текущую анимацию игрока.
 
|-
 
|-
 
| <tt>stopAnimation {{t|actor}} {{t|end frame}}</tt>
 
| <tt>stopAnimation {{t|actor}} {{t|end frame}}</tt>
602

правки

Навигация