Author Topic: wrench events  (Read 676 times)

how do i make the spawn projectile thing work right everytime i make it i try every number but it allways comes out from the corner i can naver get it working from the front

and how to i make stuff like i press a button and it launches rockets?


Direction: all of the numbers represent different directions (one is velocity), so if you enter all three, it's gonna go out the corner. Try combinations using two of the first three.

Button = Rocket: alright, wrench event basics.

Input Event: onActivate - when you click it, it'll trigger the event.
Target: self - the brick that you click is shooting the projectile
Output Event: spawnProjectile - after the onActivate, you wanna make a rocket
Other Parameters: i dunno about spawnProjectile (haven't used much), but I think you'd want the Gravity Rocket and then you have the direction stuff.

Sorry for double post.

Just looked at the spawnProjectile, and it's:

X velocity - Y vel - Z vel - Projectile Type - X variance - Y var - Z var - Size

Variance means that projectiles can fire in slightly different directions. 0 means they'll fire exactly where you set with velocity, and above that means they'll change direction a little bit.

how do i make a coded door and stuff?

Come on, think about it a bit.

What do you want the player to do to open the door?

How should the door open? I'd set rendering and collision to false.

Just think about it for a minute.