question on precessing clicks

Started by Theme, Thu 23/06/2005 20:22:24

Previous topic - Next topic

Theme

if i do something like

ProcessClick(x,y,eModeInteract);

and at x,y coordinates there is more than one object or an object and a hotspot and a character or something
what will be processed?

o/

Ashen

I think it's whichever is 'in front'. Generally (again, I think), a hotspot will be 'behind' everything else, so the object/character interaction would run. The order of objects and characters is determined by their baselines - whichever appears to be in front, that's the one that the interaction will run on.

If you wanted to specify which to trigger, you could use the Run(Character/Object/Hotspot)Interaction(number, mode) commands ((Character/Object/Hotspot).RunInteration(mode) in 2.7).
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk