proximity text chat

Started by 007serialgamer on

Topic category: Help with modding (Java Edition)

Last seen on 21:20, 24. Mar 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
proximity text chat

Hello, im trying to do a proximity text chat (since i don't want a voice chat (might get added later)) for my backrooms mod that is only in a certain dimension and you need a radio to talk to other when you are far 

Last seen on 21:53, 18. Apr 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a procedure that…
Sat, 03/16/2024 - 14:18

Make a procedure that triggers when "player sent chat" and check if other players are nearby, if not then cancel event

Last seen on 21:20, 24. Mar 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks but how i do this in…
Sun, 03/17/2024 - 13:50

thanks but how i do this in only a specific dimention please

Last seen on 21:20, 24. Mar 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh and i can't find how to…
Sun, 03/17/2024 - 13:52

oh and i can't find how to check if another player is nerby 

 

Last seen on 21:53, 18. Apr 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use if provided dimension is…
Sun, 03/17/2024 - 14:04

use if provided dimension is equal to "your dimension name" and inside that put "for each entity in radius 4"  and inside of that put "if entity is player" then increase a variable by 1. If it is 2, then another player is nearby, because there are 2 players: you and them. stuff all your code inside that.

Last seen on 21:53, 18. Apr 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you can't figure it out,…
Sun, 03/17/2024 - 14:04

If you can't figure it out, I can screenshot for you

Last seen on 21:20, 24. Mar 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I feel dumb but i can't do…
Mon, 03/18/2024 - 19:36

I feel dumb but i can't do it i can't find how to add 1 to a variable , and my variable won't show up. I would like very much a screenshot please.

Last seen on 21:53, 18. Apr 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
https://imgur.com/a/GNelZZp…
Mon, 03/18/2024 - 23:53

https://imgur.com/a/GNelZZp image here
replace "4" with your wanted chat distance
replace "nether" with your wanted dimension