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 244: | Line 244: | ||
;to the script-as-a-property that contains the | ;to the script-as-a-property that contains the | ||
;the variable you want to access | ;the variable you want to access | ||
scriptVar.publicInt += 1 | scriptVar.publicInt += 1 | ||
Line 251: | Line 250: | ||
;var via its public property name and functions, | ;var via its public property name and functions, | ||
;using the scriptVar | ;using the scriptVar | ||
msg.show(scriptVar.publicInt,test) | msg.show(scriptVar.publicInt,test) |