# NOT RUN {
scheduleEvent(x, time(sim) + 1.0, "firemodule", "burn") # default priority
scheduleEvent(x, time(sim) + 1.0, "firemodule", "burn", .normal()) # default priority
scheduleEvent(x, time(sim) + 1.0, "firemodule", "burn", .normal()-1) # higher priority
scheduleEvent(x, time(sim) + 1.0, "firemodule", "burn", .normal()+1) # lower priority
scheduleEvent(x, time(sim) + 1.0, "firemodule", "burn", .highest()) # highest priority
scheduleEvent(x, time(sim) + 1.0, "firemodule", "burn", .lowest()) # lowest priority
# }
Run the code above in your browser using DataLab