• Creates the special effect in point with coordinates (x;y) with Z = 0 using the model file from the Object Editor field of type t from the ability, unit or buff (works with all these types, though the name states it's ability-only function) with raw code abilityId. If this field has more than one effect inside, it will only create the first effect stated in the field, ignoring all others.

    Parameters

    • abilityId: number
    • t: HandleHolder<"effecttype">
    • x: number
    • y: number

    Returns HandleHolder<"effect">

    Note

    To create an effect with a z-position not zero see http://www.hiveworkshop.com/forums/1561722-post10.html.

Generated using TypeDoc