instance controlling

This forum is currently in read-only mode.
From the Asset Store
Supports keyboard, mouse and gamepads. Supports several gamepads at once.
  • + enemy1: Value 'timer' Equal to 0

    -> enemy1: Set angle towards player

    -> System: Create object enemybullet1 on layer 1 at (0, 0) from enemy1 's pivot point

    -> enemybullet1: Set angle to 90

    -> System: Create object enemybullet1 on layer 1 at (0, 0) from enemy1 's pivot point

    -> enemybullet1: Set angle to 95

    -> System: Create object enemybullet1 on layer 1 at (0, 0) from enemy1 's pivot point

    -> enemybullet1: Set angle to 85

    from script above, i want every enemy1 to shoot out enemybullet1 after timer ended or become 0

    but, what i got is just one enemy1 that shooting out bullet

    can someone point out where it goes wrong?

    thanks

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Do all your enemy1 objects use the same sprite? If so, perhaps you can wrap the events you listed above within a "for each object" loop.

  • thanks, it works <img src="smileys/smiley1.gif" border="0" align="middle" />

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)