Intercept contract collection

Your forum for all discussions around Modding.
BazTheHat
Posts: 67
Joined: Fri Jul 21, 2023 2:46 pm

Intercept contract collection

Post by BazTheHat »

Hi,

I'm writing a script where I want to intercept the moment when a user clicks "collect" on a contract. I'm assuming it's something in g_missionManager, but as there's no documentation of functions available for it, I'm at a loss.

Can anyone give me a clue as to which function gets called when someone clicks "collect" on a contract?