Introductions/Apps/Suggestions > Help/Requests
Help me with a e2
Cesar:
Hi
I need a help: I wanted to give an e2 accesso to the players. Do not understand? Explain better.
A e2 which is connected to a panel. This panel has the names of all players that are on the server. Then they select a player on the panel and the sensor accepts it.
Peetah can explain better if not understood.
ArTIk*BaNAnA:
--- Quote from: Cesar on July 04, 2010, 03:51:00 PM ---Hi
I need a help: I wanted to give an e2 accesso to the players. Do not understand? Explain better.
A e2 which is connected to a panel. This panel has the names of all players that are on the server. Then they select a player on the panel and the sensor accepts it.
Peetah can explain better if not understood.
--- End quote ---
I can't really help you cause I suck at E2, but I think you want to make an E2 that shows all the players currently connected to the server, and then you can choose a player, and a sensor points at that player like a radar?
Hope I'm right and that it will help other people understand =D
Tomcat:
you would need an array
Krasher:
@name Test
@persist [Array Players]:array
findByClass("player")
Players=findToArray()
for(I=1,Players:count()){
Array[I,string]=Players[I,entity]:name()
}
for(K=1,Players:count()){
print(Array[K,string])
}
SheepsAholy:
He asked me to do this for him a few days ago. He wants:
1. All the names of current players ingame to be on a screen
2. Up & Down button that highlights a name on the screen
3 . A button to Change control (Move Highlighted player to Allowed | Disallow Array)
4. To output a value to open a door when any allowed player comes with-in range of said door.
Sounds kinds technical 2 me, and I'm too lazy lol.
Navigation
[0] Message Index
[#] Next page
Go to full version