R
R
rekoshets2021-11-08 18:43:20
Python
rekoshets, 2021-11-08 18:43:20

Why is the error for obj in zip:VragSoldat(objects): ^ SyntaxError: invalid syntax coming up? Engine: Ursina Engine?

def input(key):
  if key == 'left mouse down':
    for obj in zip:VragSoldat(objects):
      obj.position = (uniform(-45,45),
               	1.5,uniform(33,45))
      obj.visible = True
      invoke(respawnVragSoldat(obj),delay=3)
    dust = Entity(model = Circle(),
            parent = camera.ui,
            scale = 0.03,
            color = color.orange,
            position = (0.21,-0.21))
    dust.animate_scale(0.001,
               duration=.1,
               curve = curve.linear)
    dust.fade_out(duration=0.1)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LXSTVAYNE, 2021-11-08
@lxstvayne

Because that zip:VragSoldat(objects)'s not how Python writes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question