Severe help needed

Blitz3D Forums/Blitz3D Programming/Severe help needed

[quote]You mean just plop the peices on the board and instead of plopping NEW pieces... I should just change the colors of those pieces???p/quote] Definitly, if that's an option. If you want to change the model as well, you'll have to delete the piece and then add another. You could have somthing like this:
Dim Entity(9,9)

Function SetPiece(Row,Col,ID)
	FreeEntity Entity(Row,Col)
	Entity(Row,Col)=CopyEntity(Piece(ID))
	PositionEntity Entity(Row,Col),row*10-45,4,col*10-45
End Function


Then, whenever you change somtrhing in the board array, use the SetPiece function to set the 3d visuals.