Run cursor animation on exiting specified Hotspot

Started by Revonx, Wed 24/09/2008 12:54:07

Previous topic - Next topic

Revonx

I thought that this might correct it, but apparently theres something wrong, keep in mind that I've already edited the rooms property schema for EXIT, Bool, with a default value of 0.

function repeatedly_execute()
  {
if (EXIT==true) {
Mouse.ChangeModeView(mouse.Mode, int EXIT = 1; view); 
}
else {
mouse.ChangeModeView(mouse.Mode,-1);
}
}


Any Ideas?

Khris

First of all, why didn't you post this in the existing thread!?

Secondly, don't throw together Dualnames' and my code at random, his doesn't even touch the Custom properties you've set up according to my example.

Read the manual entries about custom properties and mouse modes, understand them, then look back at this post and implement it.

Revonx

Quote from: KhrisMUC on Wed 24/09/2008 14:25:49
First of all, why didn't you post this in the existing thread!?

Secondly, don't throw together Dualnames' and my code at random, his doesn't even touch the Custom properties you've set up according to my example.

Read the manual entries about custom properties and mouse modes, understand them, then look back at this post and implement it.

apologies, I thought you were both talking about the same thing, I'll take your advice on board

Khris

It's ok, the thing is that there's almost always at least three different ways to solve problems like those, so be sure not to mix up the solutions suggested by different people.

SMF spam blocked by CleanTalk