Adding more script sections

Started by
1 comment, last by afa_guru 18 years, 12 months ago
When adding more script sections to a module, I obviously have to build it again. Is it required to add all previous script sections prior to every build? Because it seems that the module is forgetting about those otherwise. Thanks!
Advertisement
Yes, in order to not take up more memory than necessary the script engine frees the script section buffers once Build() is called. So if you wish to rebuild a script you have to add the sections again.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Thanks again for a very quick reply WitchLord! :)

This topic is closed to new replies.

Advertisement