ID:171507
 
I was looking at the tutorials and i saw this..
if (istype(O, /mob/pc))
I know what it means.If the O is a mob give it var pc...Now my question...O,(space)...why the space?Does it really matter?
CodingSkillz2 wrote:
I was looking at the tutorials and i saw this..
if (istype(O, /mob/pc))
I know what it means.If the O is a mob give it var pc...Now my question...O,(space)...why the space?Does it really matter?

Of course the space doesn't matter. And you are wrong, if checks if whatever that's defined as O is a mob/pc, so only that mob type will have whatever happens under the if statment.
In response to Wanabe
Wanabe wrote:
Of course the space doesn't matter.

The space makes it look pretty. :) Whitespace for all! Miniature american flags for others!
In response to Jon88
Jon88 wrote:
Wanabe wrote:
Of course the space doesn't matter.

The space makes it look pretty. :) Whitespace for all! Miniature american flags for others!

Well yes, I geuss so. Personal preference :-D.