I broke the window, but now a board is in the way. how do i get rid of the board?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
function on_mouse_click(MouseButton button) {
// called when a mouse button is clicked. button is either LEFT or RIGHT
if (IsGamePaused() == 1)
{
// Game is paused, so do nothing (ie. don't allow mouse click)
}
else if (button == eMouseLeftInv)
{
ProcessClick(mouse.x,mouse.y, eModeLookat);
}
else if (button == eMouseRightInv)
{
ProcessClick(mouse.x,mouse.y, eModeInteract);
}
else if (button == eMouseLeft)
{
if (GetLocationType(mouse.x,mouse.y) != eLocationNothing)
{
ProcessClick(mouse.x,mouse.y, eModeLookat);
}
else
{
ProcessClick(mouse.x, mouse.y, eModeWalkto);
}
}
else // right-click, so cycle cursor
{
if (GetLocationType(mouse.x,mouse.y) != eLocationNothing)
{
ProcessClick(mouse.x,mouse.y, eModeInteract);
}
else
{
ProcessClick(mouse.x, mouse.y, eModeWalkto);
}
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.093 seconds with 14 queries.