Spawning entities into a map from a plugin is not supported.

- Alfred

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael A.
Hobson
Sent: Thursday, June 16, 2005 4:07 PM
To: [email protected]
Subject: RE: [hlcoders] Source SDK - Creating Map Entities - missing
function?

Alfred,

Thanks for the fast reply.

Damn-it! I was hoping I could use this from a server plug-in to make map
entities in their proper classes from entity strings.

The API's in class IVEngineServer only know about raw edicts, and whilst
there are utility functions to get a CBaseEntity pointer from an edict
pointer, that doesn't help us at all with what I asked.

Surely the engine DLL's maploader must have a similar function to the
discontinued one?

Could we please have that one added to one of the Engine Interfaces next
SDK Update?

Or is there some other way to do this from a plug-in with existing
Valve-supported API's ?


At 03:01 PM 6/16/2005, you wrote:
>That function has long been removed from the codebase.
>
>- Alfred
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Michael A.
>Hobson
>Sent: Thursday, June 16, 2005 2:49 PM
>To: HLCoders
>Subject: [hlcoders] Source SDK - Creating Map Entities - missing
>function?
>
>Any Valve Programmer:
>
>In BASEENTITY at line #301, I see:
>
>          // creates an entity and calls all the necessary spawn
>functions
>          extern void SpawnEntityByName( const char *className,
>CEntityMapData *mapData = NULL );
>
>Which library is this function contained in?
>
>I can't seem to find it anywhere.
>
>
>Michael A. Hobson
>email: [EMAIL PROTECTED]
>(310) 344-3585 (cell)

Michael A. Hobson
email: [EMAIL PROTECTED]
(310) 344-3585 (cell)


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to