Author Topic: how do you make it so when you touch a brick it makes you fly up?  (Read 993 times)

can you help i wwant to make it so owhen i touch a brick it shoots me up

Thats called events.
Look 'em up sometime.

if you have variables... >=D
onplayertouch>self>ifplayerID[not equal][0]
onvariabletrue>self>firerelay
onrelay>self>ifplayerID[notqual][0]
onvariabletrue>player>setvelocity[0][0][200]
or without variables :o
onplayertouch>player>addvelocity/setvelocity[0][0][ammount]

Badspot

  • Administrator
That variable nonsense is completely unnecessary for this. 



OnActivate | Player | AddVelocity | [ 200 ]

You don't deserve to.
boy! SOMEBODY woke up on the wrong side of the bed eh? ._.

Just use addVelocity, or setVelocity as the output event. The third box is the y axis. So adding a 50 there, would cause you to fly up at 50 units of power. For example:

onPlayerTouch>Player>setVelocity>[ ][  ][50]

if you have variables... >=D
onplayertouch>self>ifplayerID[not equal][0]
onvariabletrue>self>firerelay
onrelay>self>ifplayerID[notqual][0]
onvariabletrue>player>setvelocity[0][0][200]
or without variables :o

onplayertouch>player>addvelocity/setvelocity[0][0][ammount]
All you need to know.

That variable nonsense is completely unnecessary for this. 
yes but fun to get up high, then ctrl z to stop, and in paradise, you would be at the heaven church =D
OnActivate | Player | AddVelocity | [ 200 ]
that would not work when you touch it, you would have to click it

Just use addVelocity, or setVelocity as the output event. The third box is the Y Z axis. So adding a 50 there, would cause you to fly up at 50 units of power. For example:

onPlayerTouch>Player>setVelocity>[ ][  ][50]
There,its fixed the X axis is horiziontly,the Y axis is forward backward, the Z axis is up and down ;)

There,its fixed the X axis is horiziontly,the Y axis is forward backward, the Z axis is up and down ;)
Oh crap,I forgeted up,you,my friend are correct.I thought that Z was up and Y was forward...

Oh good. I was sure I had it right...