mob
proc
GridBase()
src << output(new/obj/Basechoose/SkinW, "grid1:1,1")
src << output(new/obj/Basechoose/SkinB, "grid1:1,2")
obj/Basechoose
SkinW
icon='NHC Base Male.dmi'
icon_state="Skin"
layer=9999
Click()
usr<<'select.ogg'
alert("You have selected your base icon!")
SkinB
icon='NHC Base Male Dark.dmi'
icon_state="Skin"
layer=9999
Click()
usr<<'select.ogg'
alert("You have selected your base icon!")
Problem description: The problem here is well first I know I programmed the grid proc very basic but I am only testing. My main problem here is when the object loads up in the grid I cannot activate the action when I click on them. Can anyone tel me why?
Second, and more preferably, you can store them in a list (even more preferably, a temporary one attached to the mob this is for). As an example: