# PlayerSetUnderAIControl

FlagsNative

# Arguments

  • int — player
  • bool — aiControlled

Returns — void

native void PlayerSetUnderAIControl(
	int player,
	bool aiControlled,
);

Category: Unclassified

# Examples

# mods/heroesdata.stormmod

AILib.galaxy

// L1322
PlayerSetUnderAIControl(lp_trigPlayer, true)
// L1362
PlayerSetUnderAIControl(lp_trigPlayer, false)