# Current Trigger Thread SetFlags

FlagsNative | Action

This is only used to set flags on the current galaxy thread so that the internal execution can know what type of thread is being executed.

# Arguments

Returns — void

native void TriggerCurrentTriggerThreadSetFlags(
	int f,
	bool on,
);

Category: Trigger / Basic

# Examples

# mods/heroesdata.stormmod

AILib.galaxy

// L3015
TriggerCurrentTriggerThreadSetFlags(c_triggerThreadFlagAI, true)

# mods/warcoop/warmeleeai.sc2mod

Orc.galaxy

// L604
TriggerCurrentTriggerThreadSetFlags(c_triggerThreadFlagAI, true)