Blockland Forums > Gallery
Self Repeater
Desktop:
--- Quote from: SirLancelot7 on January 16, 2012, 09:46:46 PM ---Is this a build?
So like..
[0] OnActivate - Self - SpawnProjectile - Bullet - 0 10 0
[100] OnActivate - Self - SpawnProjectile - Bullet - 0 10 0
[200] OnActivate - Self - SpawnProjectile - Bullet - 0 10 0
[300] OnActivate - Self - SpawnProjectile - Bullet - 0 10 0
Or is it cooler than that?
--- End quote ---
One brick spawns a projectile. Projectile hits other brick. The first receiver brick sends projectile back at first brick.
When one of the bricks get hit, a bullet comes out of the barrel of the gun.
Mr.Noßody:
So it never stops?
Otherwise you made a simple event job into something more complicated..
Conan:
--- Quote from: Desktop on January 16, 2012, 10:00:33 PM ---One brick spawns a projectile. Projectile hits other brick. The first receiver brick sends projectile back at first brick.
When one of the bricks get hit, a bullet comes out of the barrel of the gun.
--- End quote ---
More efficiently done using relays...
Desktop:
--- Quote from: Mr.Noßody on January 16, 2012, 10:09:56 PM ---So it never stops?
Otherwise you made a simple event job into something more complicated..
--- End quote ---
It stops after 1 second if you set the projectile speed between the bricks to 200.
If you set the projectile speed to a lower speed, maybe it will just keep going.
I really do not know.
Conan:
--- Quote from: Desktop on January 16, 2012, 10:19:07 PM ---It stops after 1 second if you set the projectile speed between the bricks to 200.
If you set the projectile speed to a lower speed, maybe it will just keep going.
I really do not know.
--- End quote ---
You can do the exact same thing except with a reliable delay using relays.
0000 OnActivate > Self > fireRelay
1000 OnRelay > Self > fireRelay
0000 OnRelay > whatever