Quick question about inventory cursors changing when over obj/hs/chars...

Started by Snake, Wed 30/12/2009 16:01:13

Previous topic - Next topic

Snake

I can't seem to find where I can change the graphic for the inventory item's cursor when over an object, hotspot or character. I remember, or at least I think I do, there being an option for it like for the default cursors do (Animate while over hotspots, etc...).

Where am I missing the answer to my question? Would I have to change the inventory item's cursor manually in the script when over these objects? I wonder if I can do this in unhandled_event...
Grim: "You're making me want to quit smoking... stop it!;)"
miguel: "I second Grim, stop this nonsense! I love my cigarettes!"

Khris

You can put if (GetLocationType(mouse.x, mouse.y) != eLocationNothing { in rep_ex and handle things from there.
unhandled_event catches triggered events without a function linked.

Snake

Quoteunhandled_event catches triggered events without a function linked.
Right, I thought of it after I posted and realized how silly it was, heh.

Anyway, thanks for the input, Khris, that's a perfectly good solution.
Grim: "You're making me want to quit smoking... stop it!;)"
miguel: "I second Grim, stop this nonsense! I love my cigarettes!"

SMF spam blocked by CleanTalk