Example #1
0
void G_MoveOnPath(gentity_t *ent)
{
	if (!ent)
		return;

	G_ReachedPath(ent, qtrue);
}
Example #2
0
/*QUAKED target_setpath (.5 .5 .5) (-8 -8 -8) (8 8 8)
"target" is the name of path to use, if blank stops using path mode.
*/
void target_setpath_use( gentity_t *self, gentity_t *other, gentity_t *activator ) {
	if (G_SetupPath(activator, self->target) != PATH_ERROR) {
		G_ReachedPath(activator, qfalse);
	}
}