ID:157931
 
How do I make that bar skills, like Naruto GOA, I drag my skills to it.
Allen2008 wrote:
How do I make that bar skills, like Naruto GOA, I drag my skills to it.

HELPPP
In response to Allen2008
mousedrop,mousedrag, and variables

bye.
In response to Agrey123
But HOW I use this?????
In response to Allen2008
First: Check out the DM entry on those procedures
Second: Use them as a procedure...

atom   //  Defined for all /atom
MouseDrop(obj/over,turf/sloc, turf/oloc, scon, ocon, params) // This is called on /atom (src) when /atom (src) has been released after being dragged
world << "[src.name] can been dragged to [sloc.x],[sloc.y],[sloc.z] which has [over? over.name : "nothing"]."

// Don't worry about the X?Y:Z, it's like a "mini-if()"


You need to design the process: what starts off the replacement? What do you look for so you know its going to the HUD instead of elsewhere? What needs to be updated? Etc.