Adventure without the adventure?

Fluxxdog

Active member
Is there a way to have a script "adventure" in some place without triggering before and after scripts but allowing a CCS or choice automation to fire? adventure() and adv1() both trigger the scripts.
 

lostcalpolydude

Developer
Staff member
You could disable those scripts first (set them to blank values), then restore them at the end (in a finally block probably). If you have those set it's assumed that you want to use them.
 

Bale

Minion
If you do that, I cannot strongly enough recommend that you use a try-finally block as lostcalpolydude suggests. You will be bitten if you ignore that step.
 
Top