Thanks everyone! Got it working 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 Menu{// this line before rep_ex:
int troom, tobj;}
function repeatedly_execute()
{// the following inside
Object*o = Object.GetAtScreenXY(mouse.x, mouse.y);
if (o == null) {
if (troom == player.Room) {
object[tobj].RemoveTint();
troom = 0; tobj = 0;
}
else {
if (o.GetProperty("tint")) {
if (o.ID != tobj) {
o.Tint(150, 150, 0, 100, 100);
tobj = o.ID;
troom = player.Room;}}}}}
// put anything you want to happen every game cycle here
}
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.038 seconds with 14 queries.