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 243: | Line 243: | ||
scriptVar.publicInt += 1 | scriptVar.publicInt += 1 | ||
;you can now manipulate the other script's hidden ;var normally, using the scriptVar | ;you can now manipulate the other script's hidden | ||
;var normally, using the scriptVar | |||
msg.show(scriptVar.publicInt,test) | msg.show(scriptVar.publicInt,test) | ||
;a sample message to prove you have accessed the ;other script correctly, should get a value of 10 | ;a sample message to prove you have accessed the | ||
;other script correctly, should get a value of 10 | |||
;for the script var when it is displayed | ;for the script var when it is displayed | ||