ID:156324
 
Jutsus
var/jutsu
parent_type=/obj
icon = 'Icons.dmi'
Bunshin
jutsu="Bunshin"
icon_state="Bunshin"
New()
..()
mouse_drag_pointer = icon(src.icon, src.icon_state)
MouseDrop(over_object=src,over_location,src_location,src_control,over_control)
if(src in usr.contents)
if(src_control == "map.info1")
if(over_control == "map.Aone")
usr<<output(src, "Aone:16,16")
usr.slot1=src.jutsu
if(over_control == "map.Atwo")
usr<<output(src, "Atwo:1,1")
usr.slot2=src.jutsu
if(over_control == "map.Athree")
usr<<output(src, "Athree:1,1")
usr.slot3=src.jutsu
if(over_control == "map.Afour")
usr<<output(src, "Afour:1,1")
usr.slot4=src.jutsu
if(over_control == "map.Afive")
usr<<output(src, "Afive:1,1")
usr.slot5=src.jutsu
if(over_control == "map.Asix")
usr<<output(src, "Asix:1,1")
usr.slot6=src.jutsu
if(over_control == "map.Aseven")
usr<<output(src, "Aseven:1,1")
usr.slot7=src.jutsu
if(over_control == "map.Aeight")
usr<<output(src, "Aeight:1,1")
usr.slot8=src.jutsu
if(over_control == "map.Anine")
usr<<output(src, "Anine:1,1")
usr.slot9=src.jutsu
if(over_control == "map.Azero")
usr<<output(src, "Azero:1,1")
usr.slot0=src.jutsu


This is the code to my Hotkey bar for my Naruto game in-the making...

When I load game, it loads my slot1,slot2, etc... vars, however, the icon doesn't show on the grids... How to put them in save file etc.. ?
You can check out my macro demo. All you would have to do is save the overlays and verbs to macro in a list. Or, instead of wasting space, set a variable to a value in a list and check it with a switch statement. Of course, most persons who are working on Naruto games have not properly learned how to program yet from what I've seen, so you may not understand what I've said.
In response to OrangeWeapons
That doesn't answear my question >_<
In response to Cybork
This skin tutorial by Lummox Jr is excellent. This part of the lesson includes grids:

http://www.byond.com/members/ DreamMakers?command=view_post&post=33582