Ejemplo n.º 1
0
def effect115(model, mins, maxs, height, count, speed):
    """
    est_effect_15 <player filter> <delay> <model> <min x y z> <max x y z> <height> <count> <speed>
    """
    if not isinstance(model, Model):
        model = Model(model)

    if not isinstance(mins, Vector):
        mins = Vector(*mins)

    if not isinstance(maxs, Vector):
        maxs = Vector(*maxs)

    te = TempEntity('Bubble Trail')
    te.model = model
    te.halo = model
    te.mins = mins
    te.maxs = maxs
    te.height = height
    te.count = count
    te.speed = speed

    return te