--
[ Picked text/plain from multipart/alternative ]
If you're a coder, it's a simple fix...anyway, it's a modside fix:
if ( (ent->GetEntityName() != NULL_STRING &&
FStrEq(engine->Cmd_Argv(1), STRING(ent->GetEntityName()))) ||
(ent->m_iClassname != NULL_STRING && FStrEq(engine->Cmd_Argv(1),
STRING(ent->m_iClassname))) ||
(ent->GetClassname()!=NULL && FStrEq(engine->Cmd_Argv(1),
ent->GetClassname())))
Change the 1s to 2s & instead of doing ent_setname oldname newname, you can
do ent_setname newname oldname...which was initially how it was intended to
be implemented:
Arguments: {new entity name} {entity_name} / {class_name}
--
ts2do
--
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders