Skip to content

CanExplosiveStick

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void CanExplosiveStick( TimedExplosive instance, BaseEntity entity )
{
    Puts( "CanExplosiveStick works!" );
}

Location

  • TimedExplosive::CanStickTo(BaseEntity entity)
csharp
public virtual bool CanStickTo(BaseEntity entity)
{
	object returnvar = Interface.CallHook("CanExplosiveStick", this, entity);
	if (returnvar is bool)
	{
		return (bool)returnvar;
	}
	DecorDeployable decorDeployable;
//---

Released under the MIT License.