type raygun( currentCharge as int, maxDamage as int, minDamage as int)
I couldn't find any examples demonstrating how to set the type's attribute to a default value when it is initialized. For example in this instance it would make sense to default the currentCharge to 100. I understand constants aren't supported at the moment, but I was wondering if there was a way to do this that I may not have considered.