Difference between revisions of "Variables and Properties"
→From a non-owned fragment / other quest script
imported>Evernewjoy |
imported>Evernewjoy |
||
Line 263: | Line 263: | ||
endEVENT | endEVENT | ||
</source> | </source> | ||
Line 296: | Line 295: | ||
'''Things to Remember''' | '''Things to Remember''' | ||
If you do not make an instance of the script that contains the variable you want to access, you cannot use the variable, you must have an object with the variable-reservoir script attached to itself. | * If you do not make an instance of the script that contains the variable you want to access, you cannot use the variable, you must have an object with the variable-reservoir script attached to itself. | ||
* Remember to set the scriptVar to the script-as-a-property, the highlighted line in the script itself. | |||