How to use entities and the entity system. Closely inspect the IEntitySystem header file, as it is well commented.
- Access EntitySystem using the global interface pointer gEnv->pEntitySystem
- Try using its functions and debug to get an idea what the functions do