MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / Editor_CreateEntity

Function Editor_CreateEntity

src/public/editor_sendcommand.cpp:65–70  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Sends a command to the editor (if running) to create an entity at a given (x, y, z) coordinate. Input : pszEntity - Class name of entity to create, ie "info_player_start". x, y, z - World coordinates at which to create entity. Output : Returns Editor_OK on success, an error code on failure. --------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

Editor_SendCommandFunction · 0.85

Tested by

no test coverage detected