thanks vonman! I'm coming from blitz basic. in there I'd simply do a function player. They have an inbedded function called createentity().

This is simply set equal to your entity model.

Can I create a player in a function?