CanHelicopterDropCrate
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void CanHelicopterDropCrate( CH47HelicopterAIController instance )
{
Puts( "CanHelicopterDropCrate works!" );
}
Location
- CH47HelicopterAIController::CanDropCrate()
csharp
public bool CanDropCrate()
{
object returnvar = Interface.CallHook("CanHelicopterDropCrate", this);
if (returnvar is bool)
{
return (bool)returnvar;
}
return this.numCrates > 0;
//---