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

Function Editor_CreateNode

src/public/editor_sendcommand.cpp:81–86  ·  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 : pszNodeClass - Class name of node to create, ie "info_node". nID - Unique ID to assign the node. x, y, z - World coordinates at which to create node. Output : Returns Editor_OK on success, an error code on fa

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

CreateAINodeMethod · 0.85
UndoDestroyAINodeMethod · 0.85

Calls 1

Editor_SendCommandFunction · 0.85

Tested by

no test coverage detected