BlowUp(obj/B)
var/thepower = pick(/obj/power/moreb, /obj/power/morep)
var/obj/power/P = new thepower(locate(B.x,B.y,B.z))
But nothing appears... Am I doing this right?
Thanks
-Nova
ID:148515
![]() Jan 16 2003, 2:09 pm
|
|
BlowUp(obj/B) But nothing appears... Am I doing this right? Thanks -Nova |
What you can do to check this, is to output to the world the contents of the 'thepower' var before attempting to make a new object. If it's blank or incorrect, then the pick line is not doing what you want it to. But, if it does seem correct, then the 'new' line is not doing what you want it to. At least, that's the way it seems to me.