Esempio n. 1
0
protected func Check() {
	var clonk = FindObject(0, -10, -20, 20, 30, OCF_CrewMember);
	if (clonk) {
		Sting(clonk);
	}
	if (GetActTime() > 1200) {
		RemoveObject();
	}
}
Esempio n. 2
0
func Splatter()
{
	if (MOD_NoBlood()) return RemoveObject();

	if (GetActTime() > 200)
	{
		if (!IsDisintegrating()) Disintegrate(20, 50, -10);
	}
	else
	{
		EffectBloodSpray(1, 0, 0, 0);
		//CreateParticle("Blood",0,0,0,0,10+Random(30),RGBaRandom(BloodFXColor(blood_type)[0],BloodFXColor(blood_type)[1]));	
		ScheduleCall(this, this.Splatter, 1, 1);
	}
}
Esempio n. 3
0
protected func FlyProcess() {
	Smoke(0, 0, 7 + Random(5));
	if (Stuck() || (GetActTime() > 150))
		return(Hit());
}
Esempio n. 4
0
public func FlyProcess () {
	if (Stuck() || (GetActTime() > (30 + Random(10)))) {
		Xplode();
	}
}