AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Combinating attach & set (view) (https://forums.alliedmods.net/showthread.php?t=187197)

Xalus 06-10-2012 05:13

Combinating attach & set (view)
 
Is it possible to combinate attach_view and set_view

I try'd to combinate, but then I got 3rd view on my self.

If I do only attach it works on an entity,
& if I do only set_view 3rd, I got 3rd view

but I can't combinate them?

How to solve?

Arkshine 06-10-2012 07:43

Re: Combinating attach & set (view)
 
FYI, attach_view calls pfnSetView engine function and set_view calls too pfnSetView to attach the fake camera to the player. In a way, it's already combined.

Xalus 06-10-2012 08:05

Re: Combinating attach & set (view)
 
So how can I make:
So I watch an entity in 3RD view?

<VeCo> 06-10-2012 08:08

Re: Combinating attach & set (view)
 
Make 2 entities, one watching the another.
set_view is used only for players.

Xalus 06-10-2012 10:37

Re: Combinating attach & set (view)
 
There must be a better way?

Arkshine 06-10-2012 11:16

Re: Combinating attach & set (view)
 
FYI, set_view uses already an entity to make a fake camera.


All times are GMT -4. The time now is 06:18.

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