Originally Posted by JecklynHyde
Does the speaker need to be global for this script to work?
What's the difference between a global and non-global character anyway?


Basically anything far as I know needs to be global for scripts from the story editor to function. There are a few exceptions like item templates.

One of the scripting tutorial videos from Larian explains the difference. The tl;dw version is Global objects can communicate with the Osiris scripting language. Local (non global) stuff cannot.

I'm sure someone with more experience could explain better. But basically if you are going to do anything with that item/character in the story editor you need to make it global and generate definitions before you can use it.

Which is most definitely true for teleporting as described in this thread.

Last edited by SniperHF; 03/12/14 12:50 AM.