OnExperimentStarted
Usage
- No return behavior
Example Autogenerated
csharp
private void OnExperimentStarted( Workbench instance, BasePlayer player )
{
Puts( "OnExperimentStarted works!" );
}
Location
- Workbench::RPC_BeginExperiment(BaseEntity/RPCMessage msg)
csharp
//---
base.SetFlag(BaseEntity.Flags.On, true, false, true);
base.inventory.SetLocked(true);
base.CancelInvoke(new Action(this.ExperimentComplete));
base.Invoke(new Action(this.ExperimentComplete), 5f);
base.SendNetworkUpdate(BasePlayer.NetworkQueue.Update);
Interface.CallHook("OnExperimentStarted", this, player);
}