Blockland Forums > Modification Help

Projectile with infinite lifetime?

Pages: (1/2) > >>

Demian:

I tried -1 but it didn't work. Can this be done? What is the maximum lifetime for a projectile?

Chrono:

It cannot be done, however, you could just schedule it to recreate itself when it's lifetime ends.

Greek2me:


--- Quote from: Demian on May 29, 2011, 02:08:02 PM ---What is the maximum lifetime for a projectile?

--- End quote ---
Try 999999.

Demian:


--- Quote from: Chrono on May 29, 2011, 04:58:13 PM ---It cannot be done, however, you could just schedule it to recreate itself when it's lifetime ends.

--- End quote ---
And the projectile would still retain it's speed and such? Is someone able to provide me with such code to copypaste since I am no scripter?

JamestheLeet:

If it had infinite lifetime, it would crash the game if you aimed it to the edge/sky of slate.

Pages: (1/2) > >>

Go to full version