# Set Coop Flag

Grammar — Sets the coop flag at index index for player player to state state
FlagsNative | Action

Sets the value of the specified coop flag index for a player.

# Arguments

  • int — Player
  • int — Index
  • bool — State

Returns — void

native void AISetCoopFlag(
	int player,
	int index,
	bool state,
);

Category: AI Advanced / Utility / Actions

# Examples

— None found —