In response to Jamesburrow
A great eye -- lidless! -- breathed in flame.

*Edit, okay so Jamesburrow's eye still has a lid and its not exactly on fire. But still, I like making outdated LOTR movie references.
In response to Lummox JR
Lummox JR wrote:
Unless /Player is set with /mob as a parent type, that won't work.

*points to the code in the OP*
It is :P


I'd be remiss not to point out that mob/var/list/names[] is a bad idea. The /list and [] together are redundant, but I'd take off the [] and just not initialize the list until it's needed. You should avoid initializing a list for every single mob if you can help it.

Lummox JR

OK, done. And I went ahead and made names a var only for /Player as well (changing it to mob was my attempt at making it work)
In response to Kaioken
Yeah, the difference is the type. usr is always assumed to be a type of /mob, while your mobs are often type of /mob/player or /mob/NPC, or something similar. If you need to access a variable of the mob, but that vairaible is only available to that type of /mob/player, you'd have to use usr:var instead of M.var if you don't specify a typed variable to hold the reference to the usr.
In response to Rockinawsome
Then please make them right. It's "Wreathed in flame".
I've deleted the off-topic, flamey sub-thread that seems to have spawned from this. Please try not to completely derail the entire thread with your arguments with others -- if you insist on debating or fighting with another user, I ask that you please take it somewhere else to continue (pager, or other instant messaging service).

If you're not contributing to the thread in a positive manner, please do not contribute at all. Thanks!
In response to Xooxer
Xooxer wrote:
Then please make them right. It's "Wreathed in flame".

O man, seriously? I've been quoting that wrong with my bro like forvever then. It sounds like Ian McKellen was saying "Breathed in flame". Oh well, we like to make random movie quotes, however errant they happen to be.
Page: 1 2