| Blockland Forums > Suggestions & Requests |
| Chance Events |
| (1/2) > >> |
| Sebster 105:
Soo liike. onAcivate,self,chance1/4,contentStart Somthing along the lines of that... so the chance is 1 in 4 |
| Blockoman:
Variables. Use them. |
| Space Guy:
Create a 1x4 brick named "chance". Place four 1x1 bricks on top of it, and another one as a switch somewhere else. Switch: onActivate -> <Named Brick: chance> -> spawnProjectile ["0 0 10", "Radio Wave", "0 0 0", 1.0] 1x1 bricks onProjectileHit -> ....Events with 1 in 4 chance here.... Use different sized bricks for different ratios. |
| Lugnut:
Does radio wave sometimes go through bricks or something? |
| Space Guy:
Radio waves pass through players and vehicles so they won't get blocked, and do no brick damage so the 1x1 bricks won't die. You can use any projectile, really. |
| Navigation |
| Message Index |
| Next page |