- Joined
- Dec 20, 2008
- Messages
- 67
Hi, I'm posting this because i would like to make good spell system, however:
I have a library, where are functions which runs everytime some spell of the pack is cast, because all of them uses same functions. I need every single spell to have own library or scope or something, with functions, which will be called from the basic spell library.
The problem is that, I don't know how to let the function (in base library) know which spell did it, so it can call the right scope (all scopes has the same functions)
Ask if you do not understand me
Thanks for all tips and comments
+rep for help
I have a library, where are functions which runs everytime some spell of the pack is cast, because all of them uses same functions. I need every single spell to have own library or scope or something, with functions, which will be called from the basic spell library.
The problem is that, I don't know how to let the function (in base library) know which spell did it, so it can call the right scope (all scopes has the same functions)
Ask if you do not understand me

Thanks for all tips and comments
+rep for help