| Blockland Forums > Help |
| When spawning a wrench event "spawn projectile" how do you specify direction? |
| (1/2) > >> |
| Khaos:
This might be a stupid question, but when I spawn a projectile through a wrench event, I can't figure out how to make it go in a specific direction. Can anyone help me? |
| Mr. Bill:
after spawn projectile there are three boxes. Box 1 controls x axis. box 2 controls y axis. and box 3 controls up and down direction. enter numbers to specify distance/speed of projectile next thing over is you picked projectile then after that is 3 more boxes. these control spread of projectile. youll get the hang of it |
| Khaos:
Thanx for your help man |
| Chrono:
The first three boxes are velocity, in x y z. The next box is the projectile type. The next three are velocity variance, explained later, in x y z. The last is projectile scale. Damage, explosion size, and projectile size are increased according to the scale. About velocities. If you set the first three to 0 0 20 Then the next three to 10 10 0. It has a chance of shooting in -2.243 5.241 20, 7.001 -6.221 20, etc. So anywhere between x: -10 ~ 10 y: -10 ~ 10 z: 20 ~ 20 Where first three 5 6 10 and the next three 2 2 2 have this range: x: 3 ~ 7 y: 4 ~ 8 z: 8 ~ 12 That's what Mr. Bill meant by the spread. |
| Snaily:
When it spawns from a brick, the first parameter is left/right and the second is forward/back (or is it vice versa...) Depending on how you place the brick, it will fire in a different direction. I figured this out on accident when duplicating part of a computer brick and rotating it before placing it. |
| Navigation |
| Message Index |
| Next page |