.:`=-~rANdOm~`-=:.

Introductions/Apps/Suggestions => Help/Requests => Topic started by: Cesar on July 04, 2010, 03:51:00 PM

Title: Help me with a e2
Post by: 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.
Title: Re: Help me with a e2
Post by: ArTIk*BaNAnA on July 04, 2010, 03:56:15 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.

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
Title: Re: Help me with a e2
Post by: Tomcat on July 04, 2010, 04:00:06 PM
you would need an array
Title: Re: Help me with a e2
Post by: Krasher on July 04, 2010, 04:41:59 PM
@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])
}
Title: Re: Help me with a e2
Post by: SheepsAholy on July 04, 2010, 10:48:18 PM
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.
Title: Re: Help me with a e2
Post by: Cesar on July 05, 2010, 07:44:09 AM
Hope that helps
Title: Re: Help me with a e2
Post by: Tomcat on July 12, 2010, 12:14:40 PM
Hope that helps
make peettah halp joo