Skip to content

OnSamSiteTarget

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnSamSiteTarget(  )
{
    Puts( "OnSamSiteTarget works!" );
}

Location

  • SamSite::TargetScan()
csharp
//---
	}
	this.AddMLRSRockets(list, SamSite.targetTypeMissile.scanRadius);
	SamSite.ISamSiteTarget samSiteTarget = null;
	foreach (SamSite.ISamSiteTarget current in list)
	{
		if (!current.isClient && current.CenterPoint().y >= this.eyePoint.transform.position.y && current.IsVisible(this.eyePoint.transform.position, current.SAMTargetType.scanRadius * 2f) && current.IsValidSAMTarget(this.staticRespawn) && Interface.CallHook("OnSamSiteTarget", this, current) == null)
		{
			samSiteTarget = current;
			break;
		}
	}
//---

Released under the MIT License.