OnBookmarkControlEnd
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnBookmarkControlEnd( ComputerStation instance, BasePlayer ply, BaseEntity baseEntity )
{
Puts( "OnBookmarkControlEnd works!" );
}
Location
- ComputerStation::StopControl(BasePlayer ply)
csharp
public void StopControl(BasePlayer ply)
{
BaseEntity baseEntity = this.currentlyControllingEnt.Get(true);
if (baseEntity)
{
if (Interface.CallHook("OnBookmarkControlEnd", this, ply, baseEntity) != null)
{
return;
}
baseEntity.GetComponent<IRemoteControllable>().StopControl(new CameraViewerId(this.currentPlayerID, 0L));
}
//---