OnMissionAssigned
Usage
- No return behavior
Example Autogenerated
csharp
private void OnMissionAssigned( BaseMission mission, IMissionProvider provider, BasePlayer assignee )
{
Puts( "OnMissionAssigned works!" );
}
Location
- BaseMission::AssignMission(BasePlayer assignee, IMissionProvider provider, BaseMission mission)
csharp
//---
missionInstance.objectiveStatuses[i] = new BaseMission.MissionInstance.ObjectiveStatus();
}
mission.MissionStart(missionInstance, assignee);
assignee.SetActiveMission(activeMission);
assignee.MissionDirty(true);
Interface.CallHook("OnMissionAssigned", mission, provider, assignee);
return true;
}