Blockland Forums > Modification Help
Specialized homing script
<< < (6/6)
Port:

--- Quote from: Greek2me on April 20, 2012, 05:45:47 PM ---You don't have to overwrite it, you just have to package it.

--- End quote ---

The original method creates a projectile too, and firing two projectiles with different velocities won't exactly seem that nice.
Greek2me:

--- Quote from: Port on April 21, 2012, 04:25:39 AM ---The original method creates a projectile too, and firing two projectiles with different velocities won't exactly seem that nice.

--- End quote ---

Obviously. The method I'm talking about doesn't create any extra projectiles or overwrite anything.
Port:

--- Quote from: Greek2me on April 21, 2012, 02:15:56 PM ---Obviously. The method I'm talking about doesn't create any extra projectiles or overwrite anything.

--- End quote ---

Running your own code that creates a projectile in addition to invoking the parent code of ::onFire that also creates a projectile.
Greek2me:

--- Quote from: Port on April 21, 2012, 04:33:19 PM ---Running your own code that creates a projectile in addition to invoking the parent code of ::onFire that also creates a projectile.

--- End quote ---

We aren't talking about the same method. I meant to say packaging Projectile::onAdd, not ::onFire.
Navigation
Message Index
Previous page

Go to full version