Difference between revisions of "Cross Script Variables"

21 bytes added ,  11:41, 23 December 2010
m
imported>Bruneauinfo
imported>Bruneauinfo
These checks would go through each possible faction and could start to get a little hard on the eyes if there were a great many factions. This would make trouble shooting your scripts a bit more difficult too.
 
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 each time a script needed the information! If the player's faction could switch you would just write code to change the value in the quest script for those situations.
 
==Final Notes==
Anonymous user