Awesome Ive been waiting for this to come out. Such a great idea. This should prove to be a good reference point for people with limited scripting skills. Like me :'( awwww
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
if (button == RIGHT) // Right button, deafault to MODE_LOOK
{
SetCursorMode (MODE_LOOK);
if (type != 2) // 2 is character
{
FaceLocation(GetPlayerCharacter(), mouse.x, mouse.y);
}
else if (type == 2)
{
String playerornot = Game.GetLocationName (mouse.x, mouse.y);
if ( playerornot != EGO)
{
FaceLocation(GetPlayerCharacter(), mouse.x, mouse.y);
}
}
}
else if (button == LEFT) // Left button, MODE_USE (or MODE_TALK on character)
{
if (type == 2) // 2 is character
SetCursorMode (MODE_TALK); // talk to character
else
SetCursorMode (MODE_USE); // use anything else
}
}
}
}
ProcessClick(mouse.x, mouse.y, GetCursorMode() );
SetCursorMode(MODE_USE);
}
}
}
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.051 seconds with 14 queries.