Difference between revisions of "Введение в Papyrus"

Jump to navigation Jump to search
169 bytes added ,  22:25, 30 August 2012
m
imported>Peganoff
imported>Peganoff
Line 460: Line 460:
Here we put the check testing if the alias in question is the quest giver into it's own function "IsQuestGiver" that returns a value (in this case a bool) that we can then use in our comparison check. (Again, this is probably more complex than you would need for a simple function like this, but it illustrates the point that you can return your own values. You could also write a function that returns an actor, a quest, or any other [[Script Objects|Script Object]]. This can be a big boon in more complex scripting situations.)
Here we put the check testing if the alias in question is the quest giver into it's own function "IsQuestGiver" that returns a value (in this case a bool) that we can then use in our comparison check. (Again, this is probably more complex than you would need for a simple function like this, but it illustrates the point that you can return your own values. You could also write a function that returns an actor, a quest, or any other [[Script Objects|Script Object]]. This can be a big boon in more complex scripting situations.)


=So what should I read next?=
=Что следует почитать далее?=
Once you grasp the basic concepts on this page, next places to go from here:
Как только вы поймете основные понятия на этой странице, посетите следующие станицы, чтобы двигаться дальше:
*Read this page again, and follow the links to get more information about the particulars that might have been glossed over.
*Read this page again, and follow the links to get more information about the particulars that might have been glossed over.
*Look over the documentation for the language here: [[:Category:Papyrus Language Reference|Papyrus Language Reference category]]
*Look over the documentation for the language here: [[:Category:Papyrus Language Reference|Papyrus Language Reference category]]
Line 469: Line 469:




[[Category: Papyrus]]
[[Category: Papyrus/ru|Papyrus]]
[[Category: Papyrus Tutorials]]
[[Category: Учебники по Papyrus]]
{{Languages}}
{{Languages}}
Anonymous user

Navigation menu