Its basically an animating exit sign, I can get it to animate on all hotspots but I want it to only animate on specific ones i.e a hotspot which will exit the character into another room, thankyou in advance.
I don't think AGS has a built-in function that does this, but you could script a workaround with the help of the mouse.ChangeModeView function.
Sounds tricky, I'll give it a go, thanks.
Ok, there;s actually possibility of doing it.
Via this:
bool exithotspot=false;
//if mouse is over exit hotspots//
//You can do this as well putting it on the exit hotspot interaction if mouse is over hotspot
exithotspot=true;
function repeatedly_execute() {
if (exithospot==true) {
Mouse.ChangeModeView(mouse.Mode, int view);
}
else {
mouse.ChangeModeView(mouse.Mode,-1);//that will stop animatiom
}
}
I hope you get the point
Thanks, but I couldn't get this to work
I'm not surprised.
Check this thread for exit cursors & custom cursors for hotspots/objects/characters:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=27407.0
Here's a solution to do exit & default cursors (object/hotspot->Interact, character->Talkto)
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=29123.msg370994#msg370994
Quote from: KhrisMUC on Tue 23/09/2008 11:39:44
I'm not surprised.
Check this thread for exit cursors & custom cursors for hotspots/objects/characters:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=27407.0
Here's a solution to do exit & default cursors (object/hotspot->Interact, character->Talkto)
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=29123.msg370994#msg370994
Thanks Khris, I checked the threads, but that type of global scripting is a little too complicated for me, I'll keep trying though, thanks.