MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / Event_Spawn

Method Event_Spawn

neo/game/script/Script_Thread.cpp:1119–1126  ·  view source on GitHub ↗

================ idThread::Event_Spawn ================ */

Source from the content-addressed store, hash-verified

1117================
1118*/
1119void idThread::Event_Spawn( const char *classname ) {
1120 idEntity *ent;
1121
1122 spawnArgs.Set( "classname", classname );
1123 gameLocal.SpawnEntityDef( spawnArgs, &ent );
1124 ReturnEntity( ent );
1125 spawnArgs.Clear();
1126}
1127
1128/*
1129================

Callers

nothing calls this directly

Calls 3

SetMethod · 0.45
SpawnEntityDefMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected