Author Topic: Command for 6.1  (Read 1164 times)

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Command for 6.1
« on: September 28, 2018, 05:41:48 PM »

I announced an ice flower type power-up in ASM. But it has a bug that can only be fixed with this command. A command like,


"if projectile (id) collision= enemy (id)" then it plays a command. What it's telling PB is if a projectile hits an enemy with a specified ID, it plays commands only with that enemy. You're probably wondering, "why not just use projectiles enemy collision commands in projectile settings?" Because it executes commands on all enemies on the screen. So that's the problem.

Antikore

  • Developing Mortal Theater at day, developing depression at night.
  • Level 22: Trex
  • *
  • Posts: 2020
  • Enjoying Platform Builder from the very start
    • View Profile
    • PBuilder Resources
Re: Command for 6.1
« Reply #1 on: September 28, 2018, 08:33:47 PM »
It's interesting, but the same I said with any other conditional, needs to be cyclic.
Sorry because my English is not very good because I'm Spanish ;) :P

CGM

  • Christian, 3D artist, former Platform Builder gamdev
  • Master Builder
  • *
  • Posts: 3836
    • View Profile
Re: Command for 6.1
« Reply #2 on: September 28, 2018, 09:22:42 PM »
Of course! I am fully aware. When a projectile is shot, it plays the timeline.