Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2015-07-22 10:50:04, last edited by Swarth100 (2020-05-24 17:16:26)

Swarth100
Member
Joined: 2015-07-18
Posts: 305

[Help] Space Bar detection

Hello!

I got from various tutorials how to detect movement on the x/y axis (e.g. In order to make a digbot), but what's an easy and simple way to detect if spacebar has been pressed?

(Do I need to work on Modifier Y?)

Thanks in advance

Offline

#2 2015-07-22 11:37:04, last edited by Era (2015-07-22 11:37:31)

Era
Member
From: ::1
Joined: 2015-05-06
Posts: 884

Re: [Help] Space Bar detection

m - UserID is moving around
[0] <Integer> UserID
[1] <Double> PlayerPosX
[2] <Double> PlayerPosY
[3] <Double> SpeedX
[4] <Double> SpeedY
[5] <Integer> ModifierX
[6] <Integer> ModifierY
[7] <Integer> Horizontal
[8] <Integer> Vertical
[9] <Integer> Coins
[10] <Boolean> SpaceDown

how about 10 :3
Source

Offline

#3 2015-07-22 12:23:30, last edited by Swarth100 (2020-05-24 17:16:30)

Swarth100
Member
Joined: 2015-07-18
Posts: 305

Re: [Help] Space Bar detection

That seems legit!

I was working with old data found on: http://eebots.info/eeinformation.html

Is there a more up-to-date website from which I can retrieve the EE worlddata comands? (Your link brings to a "No URL found" page)

Thanks anyway mate!

Offline

#4 2015-07-22 13:51:56

Srna
Member
Joined: 2015-02-26
Posts: 220

Re: [Help] Space Bar detection

i was always using this in the case "m" for space:

if (m.GetDouble(4) == -52)
{
      con.Send("say", Players[m.GetInt(0)].Username + " pressed space");
}

i hope that it helps u too //forums.everybodyedits.com/img/smilies/wink

Offline

#5 2015-07-22 13:55:51, last edited by Swarth100 (2020-05-24 17:16:38)

Swarth100
Member
Joined: 2015-07-18
Posts: 305

Re: [Help] Space Bar detection

Thanks mate!

Gonna try it out now!

Offline

#6 2015-07-22 18:00:40

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 1,025

Re: [Help] Space Bar detection

Spinastar wrote:

That seems legit!

I was working with old data found on: http://eebots.info/eeinformation.html

Is there a more up-to-date website from which I can retrieve the EE worlddata comands? (Your link brings to a "No URL found" page)

Thanks anyway mate!

-spinastar

Use this
http://www.capasha.com/notafraud/index.php
And never go anywhere else.

Offline

den31071437584440523623

Board footer

Powered by FluxBB

[ Started around 1715781990.9466 - Generated in 0.026 seconds, 12 queries executed - Memory usage: 1.4 MiB (Peak: 1.52 MiB) ]