AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Entity visibility (https://forums.alliedmods.net/showthread.php?t=9765)

More 01-29-2005 19:07

Entity visibility
 
I have made a small plugin that allows you to send a small flying spycam aroud (your view is switched in the view of the spycam while flying with it)
But when the view of the player is attached to the one of the spycam the player viewing through it is seeing some stuff of the model of the spycam.

Now my question:
Is it possible to makes the model of the spycam (or the whole entity) invisible to the person who sends it (so he don't see some peaces of the model) but the other players see the flying spycam??

i can get the spycam become complete invisible or complete visible but i only want it to be invisible to the sender.

Any ideas?

PM 01-30-2005 05:22

Umm.. maybe you could make it be a tempentity? Maybe a TE_PLAYERATTACHEMENT and then move the whole player and make him invisible. You can only send the attachement to the people you want to see the model.


All times are GMT -4. The time now is 19:26.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.