ID:292237
![]() May 19 2011, 9:44 am
|
|
I cant get a grid work as it should be for example if i want to create a grid full with hair style and when player clicks on it it should send which hair style is player has chose and then it should change it but the code i wrote it only works with the last icon rest of them get ignored any idea how to fix
|
![]() May 19 2011, 6:26 pm
|
|
Clicking something in a grid should work the same way it does anywhere else
|
here is my proc code i use to create grid
ChangeHair(mob/M,message,title,list/options,wait=5) and here is my click proc atom |
ChangeHair1() option list is the list which stores all objcet related to hair |
Using var/C=new O causes the objects have no reference point aside from the grid. Just create the new objects when you send the list list(new/obj/Hair/Adult_Gohan_Normal,...), then output O to the grid, instead of C.
|