Difference between revisions of "Cross Script Variables"

262 bytes added ,  11:29, 23 December 2010
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.


====Notes====
==Final Notes==


*The example scripts above are for proof-of-concept testing. They are simplistic for the sake of study and application.
*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.


*The See Also section refers to conditionals that appear to offer the functionality discussed in this article, but '''do not'''. However, the syntax for reading and writing to a quest script was derived from notes from those articles and are worth mentioning.
==Additional Reading==
 
===See Also===


*[[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]]
Anonymous user