Guys is it problem to have a mob close by but remove him from my sight without using invisibility kind of like everone can see him but not the user
im trying to create a genjutsu for a naruto game where the target goes under the effect it creates a clone of that target and the clone stays behind in same location and it can be killed but the target is not aware and he can still move so i dont want him to see that clone that stay behind i did all of it and working except the fact i cant hide the clone from user sight unless i use invisibility but i dont want that since it will hide from anyone who is no using see_visible
Problem description:hide a mob clone from the user
ID:2387402
Jul 26 2018, 5:29 pm
|
|
nice problem its not image but a mob
since its kind of a clone that stays behind |
In response to Destroior
|
|
Destroior wrote:
nice problem its not image but a mob So? /mob's have an image. Remove their /image from a specific /clients's images. |
You can use image.override to override the mob's appearance with an invisible one, shown only to the client you want to hide the mob from.
var image/i = new(loc = mob) // attach the image to mob Of course, you'd probably want to store the image in some variable that lets you remove it from client.images later on, otherwise it'll just sit in there forever. |
images var (client)
This is a list of images that are displayed to the user. The output operator is one way to add entries to this list. Deleting an image object will automatically remove it from the display, but if you want to retain an image (so other people can still see it), it can be removed by directly modifying this list.