Jump to content

Jed

From Kingpin Wiki

Old name for Fingers?

		// Test script using doors.bsp
	case NAME_JED:

		if (!strcmp( scriptname, "jed_script" ))
		{
			// Tell Jed to start evading Buster
			ent->enemy = EP_GetCharacter( NAME_BUSTER );
			AI_RecordSighting( ent, ent->enemy, VectorDistance( ent->s.origin, ent->enemy->s.origin ) );
			ent->cast_info.currentmove = ent->cast_info.move_evade;
		}

		break;

	case NAME_BUSTER:

		if (!strcmp( scriptname, "buster_script" ))
		{
			// Stand here looking at Jed

			other = EP_GetCharacter( NAME_JED );

			AI_RecordSighting( ent, other, VectorDistance( ent->s.origin, other->s.origin ) );
			ent->cast_info.avoid( ent, other, true );
			ent->cast_info.talk_ent = other;


			// find our mates and tell them to look at Jed also, but don't talk