# Unit Can Create Effect At Point

Grammarcaster can create effect at point
FlagsFunction

Returns true if the specified unit can execute the specified effect at the specified point.

# Arguments

  • unit — Caster
  • string [ gamelink::Effect ] — Effect
  • point — Point

Returns — bool

bool libNtve_gf_UnitCanCreateEffectAtPoint(
	unit lp_caster,
	string lp_effect,
	point lp_point,
);

Category: Environment / Effects

# Examples

# campaigns/void.sc2campaign

MapScript.galaxy

// L537
libNtve_gf_UnitCanCreateEffectAtPoint(autoB8FABB6C_var, "TranslateUnit", PointWithOffsetPolar(UnitGetPosition(autoB8FABB6C_var), lv_distance, lp_direction))
// L537
libNtve_gf_UnitCanCreateEffectAtPoint(autoB8FABB6C_var, "TranslateUnit", PointWithOffsetPolar(UnitGetPosition(autoB8FABB6C_var), lv_distance, lp_direction))