Interface IScheduleActionSpec
Defines a specification for a schedule action that can be applied to an NPC's schedule. This interface provides a modder-facing, game-type-free way to define schedule actions that can be used during prefab configuration.
public interface IScheduleActionSpec
- Extension Methods
Methods
ApplyTo(NPCSchedule)
Applies this action specification to the given NPC schedule.
void ApplyTo(NPCSchedule schedule)
Parameters
scheduleNPCScheduleThe NPC schedule to apply this action to.
Remarks
This method should create and configure the appropriate schedule action on the provided schedule instance. The implementation should handle any necessary object resolution, validation, and error handling.