Page 1 of 1

Mouse Hover Compatability (not a question)

PostPosted: Mon Jan 17, 2005 10:57 pm
by willg101
I don't know if this is a big issue with anyone, but i figured out a way to see if an actor is being hovered on by the mouse.

1 ) create an actor ("hover")
2 ) give this actor a small(1x1), black animation
3 ) choose 'add event', then 'create actor', then 'follow mouse' [both]
4 ) select the actor you want(the one that will know when it being hovered on)
5 ) choose 'add event', 'colision', { on [any side] of actor [hover] }
6 ) now, choose the actions you want while the mouse is hovering over this actor
7 ) now, choose 'collision finish', {of actor [hover] }
8 ) and then select the actions taken when not hovered (just finished hovering)


Ps-In the text version will this be an event? (to makslane)

PostPosted: Mon Jan 17, 2005 11:54 pm
by jazz_e_bob
Thanks for the tip! :)

PostPosted: Tue Jan 18, 2005 6:28 pm
by makslane
Text actors can't get collision events

oops

PostPosted: Tue Jan 18, 2005 9:06 pm
by willg101
oops :oops:
typo! i meant to say 'next' version

PostPosted: Wed Jan 19, 2005 11:41 am
by makslane
The next version will have an events to make this :)