copying info from type to another

Blitz3D Forums/Blitz3D Programming/copying info from type to another

oops didnt work,

let me show you more:
c.citizen=new citizen
c\handle=copyentity(citizen)
if c\leave_city=yes
create_warrior(c.citizen)
endif



function create_warrior(c)
w.warrior=new warrior
w\handle=c\handle
end function