Ejemplo n.º 1
0
void
widow2_ready_spawn(edict_t *self)
{
	vec3_t f, r, u, offset, startpoint, spawnpoint;
	int i;

	if (!self)
	{
		return;
	}

	Widow2Beam(self);
	AngleVectors(self->s.angles, f, r, u);

	for (i = 0; i < 2; i++)
	{
		VectorCopy(spawnpoints[i], offset);
		G_ProjectSource2(self->s.origin, offset, f, r, u, startpoint);

		if (FindSpawnPoint(startpoint, stalker_mins, stalker_maxs, spawnpoint, 64))
		{
			SpawnGrow_Spawn(spawnpoint, 1);
		}
	}
}
Ejemplo n.º 2
0
void
widow2_spawn_check(edict_t *self)
{
	if (!self)
	{
		return;
	}

	Widow2Beam(self);
	Widow2Spawn(self);
}
Ejemplo n.º 3
0
void widow2_spawn_check (edict_t *self)
{
	Widow2Beam(self);
	Widow2Spawn (self);
}