Heartbeat Script Question

I can’t remember how to stop a hearbeat script from firing. If memory serves, an effect is used…?

SetEventScript() does the job (except for PCs).

Alternatively, you can just set a flag that tells your heartbeat script to do nothing.

I don’t think there’s an effect.

if you set it to nonexisting script to player heartbeat that does the job

But for PC, you can set some failsaves (ifs) to make some pieces of code only run if certain conditions are met (and those condition can be set on the PC, or PC skin via local vars, or it could be check against the area/module).

My bad… I have just read Proleric line on flags.

That did the job. Thanks Proleric and everyone wno responded.