Skip to content

CanElevatorLiftMove

Usage

  • Return a bool value to override default behavior

Example Autogenerated

csharp
private bool? CanElevatorLiftMove( ElevatorLift instance )
{
    Puts( "CanElevatorLiftMove works!" );
    return null;
}

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.