# Validate Unit Can Create Effect At Point
Grammar — Validate caster can create effect at point
Flags —Native
|Function
|Internal
# Arguments
unit
— Casterstring
[ gamelink::Effect ] — Effectpoint
— Point
Returns — int
native int UnitValidateEffectPoint(
unit inUnit,
string inEffect,
point inTarget,
);
# Related
Category: Environment / Effects / Internal
- [F] —
int
— Validate Player Can Create Effect At Point — ( PlayerValidateEffectPoint ) - [F] —
int
— Validate Player Can Create Effect On Unit — ( PlayerValidateEffectUnit ) - [F] —
int
— Validate Unit Can Create Effect At Point — ( UnitValidateEffectPoint ) - [F] —
int
— Validate Unit Can Create Effect On Unit — ( UnitValidateEffectUnit )
# Examples
# mods/core.sc2mod
// L3397
UnitValidateEffectPoint(lp_caster, lp_effect, lp_point)
// L2893
UnitValidateEffectPoint(lp_caster, lp_effect, lp_point)