If you are going to spawn new entities based
off of the location of a single entity, like a player,
then you can just use that entity name in place of targetEntity.
If you are going to spawn new entities using mutliple
entites as spawn points, you could define
entity* targetEntity = NULL, and then like you
said, point targetEntity to the entity you want to use as
a vector to spawn to.