Raised This Month: $ Target: $400
 0% 

Combinating attach & set (view)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 06-10-2012 , 05:13   Combinating attach & set (view)
Reply With Quote #1

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?
__________________
Retired.
Xalus is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-10-2012 , 07:43   Re: Combinating attach & set (view)
Reply With Quote #2

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.
__________________
Arkshine is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 06-10-2012 , 08:05   Re: Combinating attach & set (view)
Reply With Quote #3

So how can I make:
So I watch an entity in 3RD view?
__________________
Retired.
Xalus is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 06-10-2012 , 08:08   Re: Combinating attach & set (view)
Reply With Quote #4

Make 2 entities, one watching the another.
set_view is used only for players.
__________________
<VeCo> is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 06-10-2012 , 10:37   Re: Combinating attach & set (view)
Reply With Quote #5

There must be a better way?
__________________
Retired.
Xalus is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-10-2012 , 11:16   Re: Combinating attach & set (view)
Reply With Quote #6

FYI, set_view uses already an entity to make a fake camera.
__________________
Arkshine is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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