- Joined
- Dec 10, 2008
- Messages
- 850
Ok, so I've been getting back into making spells and such, but I need to "refresh" abit of my memory, since I can't seem to find anything that really answers this.
Now, I know scopes don't let functions outside the scope use anything enclosed in scopes, but can functions inside a scope acsses functions inside librarys and share these functions with other triggers? If so it would be like calling any other functions, right? Or would that require a certain phrase or other things?
Could I also declare globals and use them for other spells? like one big block for 3-4 spells that share them?
I need this for using a few shared functions and structs with other spells, and making customizing spells easier with only one place to change details for mutiple spells.
Thanks to whomever helps (and rep)
Now, I know scopes don't let functions outside the scope use anything enclosed in scopes, but can functions inside a scope acsses functions inside librarys and share these functions with other triggers? If so it would be like calling any other functions, right? Or would that require a certain phrase or other things?
Could I also declare globals and use them for other spells? like one big block for 3-4 spells that share them?
I need this for using a few shared functions and structs with other spells, and making customizing spells easier with only one place to change details for mutiple spells.
Thanks to whomever helps (and rep)