Named in the code or data of server.
InstructorStartLessonEvent[GameEventHandler("instructor_start_lesson")]
public HookResult OnInstructorStartLesson(InstructorStartLessonEvent args) {
// args.Userid, args.HintName, args.HintTarget, args.VrMovementType, args.VrSingleController,
// args.VrControllerType
return HookResult.Continue;
}| Field | Type | Deadworks property | Valve's comment |
| userid | player_controller | Userid CBasePlayerController? | The player who this lesson is intended for |
| hint_name | string | HintName string | Name of the lesson to start. Must match instructor_lesson.txt |
| hint_target | long | HintTarget int | entity id that the hint should display at. Leave empty if controller target |
| vr_movement_type | byte | VrMovementType int | |
| vr_single_controller | bool | VrSingleController bool | |
| vr_controller_type | byte | VrControllerType int |