# Behavior Is Allowed For Player

Grammarbehavior behavior is allowed for player p
FlagsNative | Function

Returns true if a behavior is allowed for the specified player. Use “Allow/Disallow Behavior For Player” to modify this.

# Arguments

  • int — Player
  • string [ gamelink::Behavior ] — Behavior

Returns — bool

native bool TechTreeBehaviorIsAllowed(
	int player,
	string behaviorType,
);

Category: Tech Tree / Individual Restrictions

# Examples

— None found —