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)
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====
 
*TheAll 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 andeach applicationscript.
 
==Additional Reading==
*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. ▼
 
===See Also===▼
 
*[[GetScriptVariable]]
*[[GetGlobalValue]]
*[[GetQuestVariable]]
 
▲*The Seeabove Alsoarticles sectionshould refersbe 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'''. HoweverStill, the syntax for reading and writing to a quest script was derived from notes fromfound thosein these articles and so are worth mentioningreviewing.
 
▲===See Also===
 
*[[Quest scripts]]
*[[Global Scripts]]
*[[Global Scripts/Extended]]
Anonymous user