ID:267006
Oct 8 2002, 1:27 am
|
|
how would you go about making other invince while in the same map? I wanna make something like pacman or some arcade game and I need others when you play it to be invinc to others so they can't see each other and they can only see when they are spost to see (this will be easyer than making 100 maps for each character)
|
In response to Lummox JR
|
|
I don't believe he actually meant "invinicble" at any point in his post... I'm pretty sure the entire question is about being "invisible" to others (to clear up that first paragraph)...
|
really sry >_... Maybe this will explain it a bit... really sry from before ^_^
|
In response to Shy_guy197
|
|
Okay, I'm confused. :)
Do you want to give each player their own map, with their own dots to collect and ghosts to avoid, which are separate from everyone else's dots and ghosts? 'Cause that sounds like a singleplayer game to me, in which case you don't need to worry about making different ones for each player. |
Umm... what?
The way you're using the word "other" doesn't make any sense at all. Other what?
Ah, that's what you meant. Clarity helps.
Well, I can offer you an idea of how to make players invisible to each other, anyway.
Basically what you want is to give each mob an /image, stored as a var, that can be sent to other players' client.images lists and removed again at will. Make the default icon for each mob null (that is, just don't define it), so they can't be seen.
As for your question about invincibility, remember that hits and attacks and such aren't automatically coded into DM; you can define how you want such things to work, and whether to ignore certain players.
Lummox JR