Skip to content

CanElevatorLiftMove

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void CanElevatorLiftMove( ElevatorLift instance )
{
    Puts( "CanElevatorLiftMove works!" );
}

Location

  • ElevatorLift::CanMove()
csharp
public bool CanMove()
{
	object returnvar = Interface.CallHook("CanElevatorLiftMove", this);
	if (returnvar is bool)
	{
		return (bool)returnvar;
	}
	if (this.VehicleTrigger.HasContents && this.VehicleTrigger.entityContents != null)
//---

Released under the MIT License.