OnMissionStart
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnMissionStart( BaseMission instance, MissionInstance missionInstance, BasePlayer assignee )
{
Puts( "OnMissionStart works!" );
}
Location
- BaseMission::MissionStart(BaseMission/MissionInstance instance, BasePlayer assignee)
csharp
public virtual void MissionStart(BaseMission.MissionInstance instance, BasePlayer assignee)
{
if (Interface.CallHook("OnMissionStart", this, instance, assignee) != null)
{
return;
}
for (int i = 0; i < this.objectives.Length; i++)
{
//---