ID:168264
![]() Nov 14 2005, 4:23 pm
|
|
I wanna make a verb that brings up a list of any and all objects that are in the game, and when you choose an object, it creates the object under your feet. I got the create part down, now I just need to make it so it shows the list of objects...Little help please?
|
Had to get your attention some how, eh? Its not ugly but you don't need that var/item = new O(usr.loc) stuff. You also don't need the if(O). HELLO - o as null or anything in the type of /obj/ or /mob/ ofcourse its going to be an O.
mob |
XzDoG wrote:
You also don't need the if(O). HELLO - o as null or anything in the type of /obj/ or /mob/ ofcourse its going to be an O. Oh it is? And what happens if the player selects null? You're going to end up with a runtime error stating that you cannot create an object of type null. |
TAB> if(O)//if O exsists
TAB> TAB> var/item = new O(usr.loc)