Index       Config Strings

trap_SetConfigstring

Description

Set the value of a configstring.

Prototype

    void trap_SetConfigstring(
        int num, 
        const char *string
    );

Parameters

Remarks

This is (presumably) an array of strings within the engine that are indexed by the CS_* values in bg_public.c.
This trap call sets one of these strings to a value. Config strings should usually be used to communicate complex data that changes relatively rarely.

Return value

This function has no return value.

See also

trap_GetConfigstring

Author(s)

Timbo


QuakeIII trap calls reference