can you return a type from a function?
function makeabullet()
b.bullet_type = new bullet_type
return b.bullet_type ?
end function
b2.bullet_type=makeabullet()
(this doesn't work)
i can't figure out how to do it, if its possible.
function makeabullet()
b.bullet_type = new bullet_type
return b.bullet_type ?
end function
b2.bullet_type=makeabullet()
(this doesn't work)
i can't figure out how to do it, if its possible.