![]() |
Hiding an NPC
If you were to hide an NPC from the player view, but would still need to send triggeractions to this NPC, how would you do it?
Using HTML Code:
this.hide();Setting the NPC to an image can be manipulated by the player [clientside]- which isn't good! What would you recommend? thanks |
maybe, this.alpha = 0;
|
setShape?
|
Quote:
|
Quote:
Quote:
Quote:
Loving multiquote =D |
this.actor.alpha = 0?
|
Quote:
I could maybe make it showcharacter I suppose... any other suggestions before I do this? |
Could try drawing the image via TShowImg and show/hide that instead of the NPC?
|
if u got an image that needs to showd, just remove it when you are "hiding" it?
|
Quote:
Quote:
|
Quote:
|
Quote:
|
Works a charm @ Salesman, thank you :)
|
Quote:
|
this.image = ""; ? o.o
|
Quote:
|
Quote:
|
Are you hiding the NPC Serverside?
Maybe it could work if the NPC was visible serverside but hidden Clientside. (assuming it's a matter of client -> server) |
Quote:
And yes- it is serverside ^^ lol |
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 12:45 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.