# Validate Player Can Create Effect At Point
Grammar — Validate player caster can create effect at point
Flags —Native|Function|Internal
# Arguments
int— Playerstring<gamelink::Effect> — Effectpoint— Point
Returns — int
native int PlayerValidateEffectPoint(
int inPlayer,
string inEffect,
point inTarget,
);
# Related
Category: Environment / Effects / Internal
- Validate Player Can Create Effect At Point —
int— PlayerValidateEffectPoint - Validate Player Can Create Effect On Unit —
int— PlayerValidateEffectUnit - Validate Unit Can Create Effect At Point —
int— UnitValidateEffectPoint - Validate Unit Can Create Effect On Unit —
int— UnitValidateEffectUnit
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:3385
// Automatic Variable Declarations
// Implementation
return (PlayerValidateEffectPoint(lp_player, lp_effect, lp_point) == 0);
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:2881
// Automatic Variable Declarations
// Implementation
return (PlayerValidateEffectPoint(lp_player, lp_effect, lp_point) == 0);
}