Hi,

I don't know whether you made up your chess board in ONE model or every square as a seperate model, but if you choose for each square to be a seperate entity, you may use the "mouse_ent" pointer to determine which square the mouse currently points at. The manual will help you using mouse_ent correctly. Then, if the left mouse button is clicked, simply call a function (or *assign* that function to the left mouse button, I think that's possible too) which moves the selected piece (simply create a pointer which is assigned to a piece when it is left clicked upon using mouse_ent once more) to the selected square using the "c_move(...)" command.

However, in case that your entire chess board consists of only *one* model, things are getting way more complex. Maybe someone else can answer that? Because I have no idea xD


Greets,



Alan