Difference between revisions of "Cross Script Variables"
→Notes: added note about declaring variables in quest script first
imported>Bruneauinfo (→Notes) |
imported>Bruneauinfo (→Notes: added note about declaring variables in quest script first) |
||
Line 54: | Line 54: | ||
*The variable names listed in the script can be named whatever you like - preferably something meaningful to their purpose. | *The variable names listed in the script can be named whatever you like - preferably something meaningful to their purpose. | ||
*You must declare a variable in the quest script BEFORE you can reference them in the read/write scripts described below. If you attempt to code your read/write commands and the variable has not yet been declared in the quest script you will receive a compiling error in your read/write script. | *You must declare a variable in the quest script BEFORE you can reference them in the read/write scripts described below. If you attempt to code your read/write commands and the variable has not yet been declared in the quest script you will receive a compiling error in your read/write script. (''specifically this error message will state that your variable is an unknown variable or command even though you have declared the variable already within the read write/script.'') | ||