I'm playing a game were one command affect another player in a certain distance, and if there is 2 or more in that distance it'll pop-up a window for me to choose the right mob.
I want to know if there is any verb for me exclude a certain mob from that popup, so if that is only that specific mob and another one the command will activate on the second one w/o popup.
Thanks in advance.
PS: I already know that putting a certain mob's name after the command prevent it of popup but this causes me to change it many times so it's not helping.
Jun 19 2013, 2:22 pm
Best response
|
|
There's no way to do this from your end. You'd need to talk to the programmer of the game about doing something to help players with this.
|
In response to Albro1
|
|
The OP isn't the programmer?
OP - You'd have to create a list of eligible mobs, which usually means a for() loop and in your case: a in oview() or obounds() proc to go with it. You cannot create and define the list inside the verb arguments, so you have to sacrifice that aspect for a more narrow and compact list. After you run through the loop of eligible mobs and add them into a list, you can then call input() in list to get the names. At this point, you should be able to run the verb just as you already are. |
In response to NNAAAAHH
|
|
I'm playing a game were one command He's playing a game. He's complaining about how the game selects people via an input() popup. PS: I already know that putting a certain mob's name after the command prevent it of popup He has realized that putting the mob's name after the command line prevents this, but wants an easier way. |
In response to Albro1
|
|
Ah, I must've miss-read. Actually, I think that I skipped the first line somehow. Anyway, once the OP talks to the programmer, the OP can tell the programmer what we've told them.
Otherwise, this belongs in the 'BYOND Help' section. |
In response to NNAAAAHH
|
|
Well you didn't really help it either, lol.
You told him how to grab the list and pick from it via input(), which is what he doesn't like doing. XD |
In response to Albro1
|
|
I must've REALLY miss-read if that wasn't what he was asking for help with. I read 'I need to be able to eliminate a mob from a list of two, if say one doesn't meet a requirement', so if there's only one eligible, it'll select that one.
I want to know if there is any verb for me exclude a certain mob from that popup, so if that is only that specific mob and another one the command will activate on the second one w/o popup. |
In response to NNAAAAHH
|
|
He's talking about the generic rip game attack verb that brings up a list of all of the people 1 tile around you. He wants to be able to attack the person he wants without having to pick the right name from that list every time.
|
In response to Albro1
|
|
AH, so he's asking for a 'targeting' type system to be added into the game he's playing. Should be in that game's feature request forum then. I apologize for being rather slow on the take here. Long days and what-not.
|