Hi, I've been using a bs style interface where you hover over the thing and the cursor changes to what yu can do.
It ok with hotspots, I have the script
if (GetCursorMode() != MODE_USEINV) { // any mode but inventory item
SetCursorMode(1);
}
Which works fine. I canj ust about manage objects, I have a hotspot behind t. But what about characters?
How do I get this affect on characters that have no 'Mouse hovers over' option, oh and if you can help mne with objects because the hotspot thing takes a while.
I have a feeling its gonna involve custom properties but I don't know how.
I think this test game I made a while ago does what you want.
http://www.geocities.com/whoismonkey/Cursor.zip
The scripting is mostly in the global repeatedly execute, and there's a text file to explain it. Hope this helps.
In the repeatedly _execute() function put:
if (GetLocationType(mouse.x, mouse.y)==1 SetCursorMode(MODE_USE); //for hotspots
else if (GetLocationType(mouse.x, mouse.y)==2 SetCursorMode(MODE_TALK); //for characters
else if (GetLocationType(mouse.x, mouse.y)==3 SetCursorMode(MODE_USE); //for objects
else SetCursorMode(MODE_WALK);