Array as Type Field

Blitz3D Forums/Blitz3D Programming/Array as Type Field

ClayPigeon(Posted 2010) [#1]
OK, easy question for a change. Is it possible for me to have an array as a type field? Yeah, yeah -- I know the space requirements would be immense if I created many of them, but I'm planning to need no more than 2 at a time. I need it because I want to be able to create a 'path' type that stores many points so I can have an entity travel those points on a cubic interpolated spline. If there's a way I can make a array in a type, that's great! If anyone can think of a better way to store paths, that's greater!!


Sledge(Posted 2010) [#2]
See the docs on Blitz Arrays.


ClayPigeon(Posted 2010) [#3]
Ooh, thanks! This will be fine!


Warner(Posted 2010) [#4]
Else, use banks. They are more dynamic.