DC have writen scripts where he used command "CopyMesh". But my blitz3d have not This command. I can't complate my program my version is 1.64 Please help me.
I've writen:"
Type gameparameters
Field class#
Field id#
Field name#
Field texture#
Field fx#
Field autofade
End Type
Global object3d=CreateMesh():ShowEntity object3d
Function create(class,id,p1,p2,p3,p4)Entity.gameparameters=New gameparameters
Entity\class#=class
Entity\id#=id
Entity\name#="some"
entity=CopyEntity(object3d) ;I use CopyEntity without CopyMesh
;fx
EntityFX entity,16
entity\fx#="16"
;autofade
EntityAutoFade entity,800,900
entity\autofade#="800"
ScaleEntity entity,0.01,0.01,0.01
randomnumber=Rnd(1,1000000)
If p1=randomnumber And p2=randomnumber And p3=randomnumber Then
PositionEntity entity,p1,p2,p3
LoadMesh "tank.3ds",entity
entity\texture#="tanktex.jpg"
EndIf
End Function
"
And it write me error:"Illegal type conversion" for this script