# Validate Unit Can Create Effect At Point

Grammar — Validate caster can create effect at point
FlagsNative | Function | Internal

# Arguments

  • unit — Caster
  • string<gamelink::Effect> — Effect
  • point — Point

Returns — int

native int UnitValidateEffectPoint(
	unit inUnit,
	string inEffect,
	point inTarget,
);

Category: Environment / Effects / Internal

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:3397

    // Automatic Variable Declarations
    // Implementation
    return (UnitValidateEffectPoint(lp_caster, lp_effect, lp_point) == 0);
}

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:2893

    // Automatic Variable Declarations
    // Implementation
    return (UnitValidateEffectPoint(lp_caster, lp_effect, lp_point) == 0);
}