Blockland Forums > Help
Variables target owner of brick and not user?
phflack:
for some reason i made a brick that when you are trying to jet (as a nojet playertype) you go up the ladder
--- Code: ---onplayertouch>self>vce_ifvalue[<var:pl:jetting>][==][1][1 1]
onvariabletrue>player>setvelocity[0][0][10]
--- End code ---
and so when they touch it, and if i right click, i go up, same thing with teleport events, if they touch the brick i get teleported (no VCE on that either)
phflack:
also, for some reason some people in my server are a floating black head, even with zombies disabled (thought they were causing this)
phflack:
might be because of bots, not sure (worked when i disabled a few things, bots behing one of them)
jes00:
--- Quote from: phflack on February 03, 2010, 06:51:21 PM ---for some reason i made a brick that when you are trying to jet (as a nojet playertype) you go up the ladder
--- Code: ---onplayertouch>self>vce_ifvalue[<var:pl:jetting>][==][1][1 1]
onvariabletrue>player>setvelocity[0][0][10]
--- End code ---
and so when they touch it, and if i right click, i go up, same thing with teleport events, if they touch the brick i get teleported (no VCE on that either)
--- End quote ---
Why don't you just do OnPlayerTouch>Player>AddVelocity or OnActivate>Player>AddVelocity
phflack:
--- Quote from: jes00 on February 04, 2010, 06:48:47 AM ---Why don't you just do OnPlayerTouch>Player>AddVelocity or OnActivate>Player>AddVelocity
--- End quote ---
because then you might go flying up while fighting, or it's harder to get down, or you can't fight while going up, tried those before anywho