Is there a way to exclude more than 2 mobs?
say oview would exclude the user using w.o and then the targeted mob so only other people can see the text.
example
ovew(0) << "blah blah blah"
i don't want that text to show to the user or the mob but the people in that range.
ID:840929
Jun 28 2012, 6:13 pm
|
|
Jun 28 2012, 6:22 pm
|
|
Why don't you just remove the mob from the list?
|
oview() returns a list. Remove the other mob from the list and you're good to go.
|
The oview() proc returns a list of objects. Lists are lists.
var L[] = list("a", "b", "c") |
Use a for(var/mob/m in oview()), an if statement to determine whether they should get the text, and m<<txt to deliver it.
You could also put the contents of oview() into a separate list, while filtering out the mobs you don't want, then deliver the message to the mobs in that list. |