instances from seperate .bb file?

Blitz3D Forums/Blitz3D Beginners Area/instances from seperate .bb file?

timmport(Posted 2006) [#1]
I have read about how create instances from a custom type but how do I pull instances from a seperate .bb file. So far I have used include "myOtherfile.bb" to bring in an object from another file into my main file. But how would I create mutiple instance of the contents of this include file?


Stevie G(Posted 2006) [#2]
When you include a file, simply think of it as copying and pasting the code contained within the include file at the point you call "include AAA.bb" in your main program.

Whatever instances you've created in the include file should therefore be accesible from the main file.

Stevie