Difference between revisions of "Bethesda Tutorial Quest Objectives/ru"

imported>Vitamant
imported>Vitamant
Line 83: Line 83:


=Установка ориентиров=
=Установка ориентиров=
{{Inuse/ru}}


Помнишь ту страшную функцию <code>SetObjectiveDisplayed()</code>? Вот тут то она и используется. Если по какой-либо причине первая функция не вызовет обновление ориентиров, то эта гарантирует, что они все-таки будут обновлены. Советую указывать оба.
Помнишь ту страшную функцию <code>SetObjectiveDisplayed()</code>? Вот тут то она и используется. Если по какой-либо причине первая функция не вызовет обновление ориентиров, то эта гарантирует, что они все-таки будут обновлены. Советую указывать оба.
Line 101: Line 100:
[[Image:SettingObjective10.png|600px]]
[[Image:SettingObjective10.png|600px]]


{{InDepth|You might wonder why the extra step of creating the "stage item" is necessary - in more complicated quests, you can have multiple stage items, some or all of which use conditions to control whether or not they happen (for example, to allow variant log entries depending on a choice the player had made earlier in the quest). In this case, our quest is simple enough to only need one stage item in each stage.}}
{{InDepth|Ты спросишь - зачем же нужна эта таблица, если мы записали в ней всего одну строчку? Дело в том, что в более сложных квестах, может быть задействовано несколько таких строк, часть из которых (или все), связаны с определенными условиями, определяющими - отобразятся они в журнале или нет. (н.п. ветвление квеста в зависимости от того сделал что-нибудь игрок на предыдущих стадиях, или нет). В нашем случае всё просто и линейно, поэтому нам не нужны ни условия, ни дополнительные элементы.}}


Now select stage 20 from the list on the left, and create a new stage item for it. Remember, stage 20 is after we've killed the thief but before we've gotten the amulet. We have two things to do here -- tell the player that the previous objective (to kill the thief) has been accomplished, and set their next goal. We do that with two lines of script:  
Теперь выбери стадию 20 из списка слева и создай новую строку справа. Remember, stage 20 is after we've killed the thief but before we've gotten the amulet. We have two things to do here -- tell the player that the previous objective (to kill the thief) has been accomplished, and set their next goal. We do that with two lines of script:  


<source lang="papyrus">
<source lang="papyrus">
Anonymous user