I wish to create a function like this:
createblock(name,x,y)
where name is the name of the mesh handle and the image file.
where x and y are coordinates.
I want to use one variable for mesh and image file but I get an error message while trying to load the image file. For now, I have to create the function like this:
createblock(mesh,"name",x,y)
Is it possible to convert the mesh handle to a string variable?
I rather use
createblock(nyc0001,0,0)
than to use
createblock(nyc0001,"nyc0001",0,0)
createblock(name,x,y)
where name is the name of the mesh handle and the image file.
where x and y are coordinates.
I want to use one variable for mesh and image file but I get an error message while trying to load the image file. For now, I have to create the function like this:
createblock(mesh,"name",x,y)
Is it possible to convert the mesh handle to a string variable?
I rather use
createblock(nyc0001,0,0)
than to use
createblock(nyc0001,"nyc0001",0,0)