I did a quick search but didn't come up with anything.
Is it possible to initialize Type Fields?
This bit of code compiles:
but it doesn't seem to actually work...
Is it possible to initialize Type Fields?
This bit of code compiles:
Type TypeWeapon Field WeaponID% = 1 Field Ammo% = 500 Field FireRate% = 2 Field Velocity% = 100 Field Range% = 500 Field Damage% = 1 Field Force% = 1 Field Weight% = 50 End Type
but it doesn't seem to actually work...