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 cEgo_Interact()
{
if (player == cABC||cXYZ) cEgo.SetAsPlayer();
}
function cABC_Interact()
{
if (player == XYZ) cABC.SetAsPlayer();
}
#sectionstart on_mouse_click // DO NOT EDIT OR REMOVE THIS LINE
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 == eMouseLeft) {
if (player.ActiveInventory == null){
mouse.Mode = eModeInteract;
player.RunInteraction(eModeInteract);
}
else {
mouse.Mode = eModeUseinv;
player.RunInteraction(eModeUseinv);
}
}
else if (button == eMouseRight) {
mouse.Mode = eModeLookat;
player.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.033 seconds with 13 queries.