Skip to content

OnHelicopterOutOfCrates

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnHelicopterOutOfCrates( CH47HelicopterAIController instance )
{
    Puts( "OnHelicopterOutOfCrates works!" );
}

Location

  • CH47HelicopterAIController::OutOfCrates()
csharp
public bool OutOfCrates()
{
	object returnvar = Interface.CallHook("OnHelicopterOutOfCrates", this);
	if (returnvar is bool)
	{
		return (bool)returnvar;
	}
	return this.numCrates <= 0;
//---

Released under the MIT License.