# Purchase Exit

Grammar — Player player exits the purchase interface
FlagsNative | Event

This event fires when the specified player exits the storymode armory tech purchase interface.

# Arguments

  • int — Player

Returns — void

native void TriggerAddEventPurchaseExit(
	trigger t,
	int player,
);

Category: Story / Tech Purchase Panel / Interaction

# Examples

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:12608

void libCamp_gt_TSTechConsoleExit_Init () {
    libCamp_gt_TSTechConsoleExit = TriggerCreate("libCamp_gt_TSTechConsoleExit_Func");
    TriggerAddEventPurchaseExit(libCamp_gt_TSTechConsoleExit, c_playerAny);
}