Well I clearly have a lot to learn, thank you so much! this worked perfectly, maybe I can actually advance my game now

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 Menufunction door_UseInv() { if (player.ActiveInventory == IKey) { cChar.Say ("Hello!"); } else { cChar.Say ("Goodbye!"); } |
function on_mouse_click(MouseButton button) { if (IsGamePaused() == 1) { } else if (button == eMouseLeft) { ProcessClick(mouse.x,mouse.y, eModeInteract); ProcessClick(mouse.x,mouse.y, eModeWalkto); ProcessClick(mouse.x,mouse.y, eModeUseinv); } else if (button == eMouseRight)// right-click, so Lookat { ProcessClick(mouse.x,mouse.y, eModeLookat); mouse.Mode = eModeWalkto; } if (button == eMouseLeftInv) { player.ActiveInventory = inventory[game.inv_activated]; } else if (button == eMouseRightInv) { inventory[game.inv_activated].RunInteraction(eModeLookat); } |
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.053 seconds with 13 queries.