So it is planned?
And by accepting objects, that would work but the problem lies in having 2 parameters for X,Y and only one if it is a vector. Somehow I have to find a work-around for that or the function would be:
CreateCar(X,Y,Color,Name$)
~
CreateCar(Location,0,Color,Name$)
This is what I meant with messy, the " 0 " instead of Y when it's a vector.
And by accepting objects, that would work but the problem lies in having 2 parameters for X,Y and only one if it is a vector. Somehow I have to find a work-around for that or the function would be:
CreateCar(X,Y,Color,Name$)
~
CreateCar(Location,0,Color,Name$)
This is what I meant with messy, the " 0 " instead of Y when it's a vector.