Index  

trap_GetEntityToken

Description

Read all entity key/value pairs of a map bsp.

Prototype

    qboolean trap_GetEntityToken(
        char *buffer,
        int bufferSize
    );

Parameters

Remarks

This call fills the buffer pointed to by buffer with all the key/value pairs of every map entity.
The string returned has a very similar format to that of the tail end of a GTKRadiant .map file before it is compiled to a bsp.
It is unlikely that a user would ever need to call this since it is handled already in g_spawn.c This should only be done at GAME_INIT time.

Return value

Retrieves the next string token from the entity spawn text, returning qfalse when all tokens have been parsed.

See also

Author(s)

Timbo


QuakeIII trap calls reference