# User Data Of Behavior On Unit

Grammar — Get behavior user data userData on unit unit
FlagsNative | Function

Gets a behavior user data on a unit.

# Arguments

  • unit — Unit
  • string<gamelink::Behavior> — Behavior
  • string — User Data

Returns — fixed

native fixed UnitBehaviorEffectTreeUserData(
	unit inUnit,
	string behavior,
	string userData,
);

Category: Behavior / Basic

# Examples

— None found —