Spawning through the Code Part 1

Find out how to spawn your entity through the code. Use the entity system's member function SpawnEntity.

  • Get a handle on the entity system, that is, gEnv->pEntitySystem
  • Use its member function SpawnEntity
  • Make sure to pass in a filled-out SEntitySpawnParams object

Complete and Continue