Skip to content

OnSamSiteTargetScan

Usage

  • No return behavior

Example Autogenerated

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

Location

  • SamSite::TargetScan()
csharp
//---
	if (this.IsDead())
	{
		return;
	}
	List<SamSite.ISamSiteTarget> list = Pool.Get<List<SamSite.ISamSiteTarget>>();
	if (Interface.CallHook("OnSamSiteTargetScan", this, list) == null)
	{
		if (!this.IsInDefenderMode())
		{
			this.AddTargetSet(list, SamSite.targetTypeVehicle.scanRadius);
		}
//---

Released under the MIT License.