Menu

Show posts

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

Topics - uoou

#2
There might be a proper name for this which, if I knew it, would help me search. But I don't know it. So...

I want to have it so that clicking on a thing performs the default action (and for this default action to be reflected in cursor changes when you mouse over something). For example, when I click on the ground, I walk there and when I click on a character I talk to them. Without having to rotate the actions myself.

So I thought I'd write a function called in repeatedly execute which checks whether the mouse is over an object/character/hotspot and changes the mouse mode accordingly. Is this possible? And if so, is it practical or will it hit performance too much?

I can't find anything in the manual to check whether the mouse is over a character/object etc. (that is, any character, not a particular character). Is there a way to do this?

Thank you.
#3
Hello, I'd like to (and please put me right if wanting to do this in the first place is the wrong approach) deal with character interaction in the room script file rather than the GlobalScript file. Seems to me it'd be easier to keep track of that way - is it possible?

i.e. I'd like to use the functions that the interaction panel generates (like cCharacter_Talk() or whatever) from the script of the room in which that character exists.

I've had a look through the wiki and that and can't find anything which makes me think maybe there's a compelling reason to do this sort of thing in the global file?
SMF spam blocked by CleanTalk