Add a free four-byte slot to the entity structure

Blitz3D Forums/Blitz3D Programming/Add a free four-byte slot to the entity structure

Whoa...you can load pre-defined entity structures for all your entities. This is powerful.

range#=0 : "range"
color&=16777215 : "color"
size#=300 : "size"
alpha#=0.0

The first value is a variable name and type. The second is the default value. The third is the keyvalue to get the property from the CShop entity. If you load this sturcture, it creates a structure within the entity with the appropriate values.

This is pretty mind-bending stuff! It's the kind of code/entity/editor integration I have always wanted.