Difference between revisions of "Variables and Properties"
Jump to navigation
Jump to search
→From a non-owned fragment / other quest script
imported>Evernewjoy |
imported>Evernewjoy |
||
Line 183: | Line 183: | ||
'''2.''' In the other script, where you want to access the variable from the script above, you must define the following: | '''2.''' In the other script, where you want to access the variable from the script above, you must define the following: | ||
* the script that contains the variable you want to access, you must define the script as a property, note that the type of the property is the name of the script that contains the variable you want. | |||
* a variable that is going to be used to refer to the script property in A (above) | |||