ID:150307
 
client/mouse_pointer_icon='Mouse.dmi'

this is the code for the Mouse pointer, but, how do i make it so that when it oges over an object it changes icon?

like it a Red line goes around it...
Spyron wrote:
client/mouse_pointer_icon='Mouse.dmi'

this is the code for the Mouse pointer, but, how do i make it so that when it oges over an object it changes icon?

like it a Red line goes around it...



obj/Something
icon='Something.dmi'
mouse_over_pointer='Mouse.dmi'


You're be lucky I'm in a giving mood
In response to Nadrew
I mean, Any object, like if the mouse is on me, then it changes
In response to Spyron
Spyron wrote:
I mean, Any object, like if the mouse is on me, then it changes


atom/mouse_over_pointer='Mouse.dmi'
In response to Nadrew
I'll be more Broad...

I have made a Mouse Icon...And it's finger is the hot tip.

Now, I want it to stay as the icon while on map, but, when it goes over an object, it should change to MouseRed.dmi for exapmle...

I put my mouse over a mob, it then lights up RED, Do i have to assign the pointer to change on every icon i want?
In response to Spyron
Spyron wrote:
I'll be more Broad...

I have made a Mouse Icon...And it's finger is the hot tip.

Now, I want it to stay as the icon while on map, but, when it goes over an object, it should change to MouseRed.dmi for exapmle...

I put my mouse over a mob, it then lights up RED, Do i have to assign the pointer to change on every icon i want?


Now I'm tired of giving out code look up mouse_over_pointer
and mouse_pointer_icon
In response to Spyron
use his above code, but change "atom" to "obj"... this should be what you're looking for.
In response to Nadrew
hmmm How could u even change the mouse Icon I dont even think that is even an event action? So what are u peoples talking about?
In response to Green Lime
Read the release notes, it became possible with version 306

Alathon
In response to Alathon
hmm I dont get it I looked in the index and its not there is it not suppose to be?
In response to Green Lime
Look at the reference

Alathon
In response to Alathon
hmmmm cool I can use that in many of my games.
In response to Green Lime
Thank you everyone who posted, I want to apologize to Nadrew, although he DIDN'T have to post i never asked him, you don't have to give the code out, I'm new at this, so give me a break man...
In response to Spyron
You fools, millions shall perish for your insolence.

In your mouse.dmi make an icon_state named "over". Make sure whatever objects or mobs you want to have the hand change its state for have their mouse_over_pointer var set to MOUSE_ACTIVE_POINTER.

Derdragon, who for lack of time must resort to mere common language in his epic pursuit to publicize Maeva.
In response to Spyron
Spyron wrote:
Thank you everyone who posted, I want to apologize to Nadrew, although he DIDN'T have to post i never asked him, you don't have to give the code out, I'm new at this, so give me a break man...


I wasn't trying to be rude I just noted I wasn't giving out anymore code on the subject. For you to understand the mouse actions better you should look them up.




<font face="Lucida handwriting">Nadrew</font>
In response to DerDragon
Is there something i can put in my login to change the defualt mouse pointer for the world? Ive been looking at every single mouse proc or var in the help and i cant find out how to do it.
In response to Jotdaniel
Just add this at the top of your code.

client/mouse_pointer_icon='Something.dmi'
In response to Nadrew
thanks