Difference between revisions of "Cross Script Variables"
Jump to navigation
Jump to search
Edited the very end of the article on additional articles and see also
imported>Bruneauinfo m |
imported>Bruneauinfo (Edited the very end of the article on additional articles and see also) |
||
Line 142: | Line 142: | ||
Using the functionality discussed in this article you could store the player's faction in a quest script and just retrieve it with a few lines of code! If the player's faction could switch you would just write code to change the value in the quest script. | Using the functionality discussed in this article you could store the player's faction in a quest script and just retrieve it with a few lines of code! If the player's faction could switch you would just write code to change the value in the quest script. | ||
== | ==Final Notes== | ||
* | *All the example scripts above are for proof-of-concept testing. They are simplistic for the sake of study. Application of these concepts would include additional content in each script. | ||
==Additional Reading== | |||
== | |||
*[[GetScriptVariable]] | *[[GetScriptVariable]] | ||
*[[GetGlobalValue]] | *[[GetGlobalValue]] | ||
*[[GetQuestVariable]] | *[[GetQuestVariable]] | ||
The above articles should be read for reference purposes. Although not directly related it is valuable to note that these are only conditionals that appear to offer the functionality discussed in this article, but '''do not'''. Still, the syntax for reading and writing to a quest script was derived from notes found in these articles and so are worth reviewing. | |||
==See Also== | |||
*[[Quest scripts]] | |||
*[[Global Scripts]] | |||
*[[Global Scripts/Extended]] |