what is M.loc or B.loc or S.loc etc...
when im coding i never kno which to put in like
var/obj/SoundSuit/S = new/obj/SoundSuit
S.loc = src
y do u put S.loc there or
var/obj/Ranbu/R = new/obj/Ranbu
R.loc=src
y do u put R.loc wat is the meaning of those things
ID:142558
Apr 23 2008, 6:39 am
|
|
Read what Kaioken posted. You need to go through all that stuff to understand what it is you're doing.
The SHORT answer is that you're defining an object and naming it. var/obj/SoundSuit/S = new/obj/SoundSuit S is now your new SoundSuit You can now access it's information and change what you need like loc, icon, etc by using S.loc and so on. |
http://www.byond.com/members/ DreamMakers?command=view_post&post=40355