Skip to content

OnMlrsFired

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnMlrsFired( MLRS instance, BasePlayer owner )
{
    Puts( "OnMlrsFired works!" );
}

Location

  • MLRS::Fire(BasePlayer owner)
csharp
//---
	base.SetFlag(BaseEntity.Flags.Reserved6, true, false, true);
	this.radiusModIndex = 0;
	this.nextRocketIndex = Mathf.Min(this.RocketAmmoCount - 1, this.rocketTubes.Length - 1);
	this.rocketOwnerRef.Set(owner);
	base.InvokeRepeating(new Action(this.FireNextRocket), 0f, 0.5f);
	Interface.CallHook("OnMlrsFired", this, owner);
}

Released under the MIT License.