True if the NPC is performing the given schedule, false otherwise.
Example
Function which returns the schedule an NPC is performing.
functionGetNPCSchedule(npc)
if(!IsValid(npc)) thenreturnendfor s =0, LAST_SHARED_SCHEDULE-1doif(npc:IsCurrentSchedule(s)) thenreturn s endendreturn0end