# Validate Player Can Create Effect At Point

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

# Arguments

  • int — Player
  • string<gamelink::Effect> — Effect
  • point — Point

Returns — int

native int PlayerValidateEffectPoint(
	int inPlayer,
	string inEffect,
	point inTarget,
);

Category: Environment / Effects / Internal

# Examples

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

    // Automatic Variable Declarations
    // Implementation
    return (PlayerValidateEffectPoint(lp_player, lp_effect, lp_point) == 0);
}

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

    // Automatic Variable Declarations
    // Implementation
    return (PlayerValidateEffectPoint(lp_player, lp_effect, lp_point) == 0);
}