ID:142558
 
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
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.