AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Finding origin of MODEL and not the player? (https://forums.alliedmods.net/showthread.php?t=46485)

Zamma 10-27-2006 16:35

Finding origin of MODEL and not the player?
 
Is there anyway to find the origin of the MODEL and not the PLAYER. In a game i play the players origin is above the origin of the actual model.

Zenith77 10-27-2006 18:02

Re: Finding origin of MODEL and not the player?
 
The model isn't a sperate ent, so therefore it has no origin.

I hope I'm right

Sp4rt4n 10-27-2006 22:37

Re: Finding origin of MODEL and not the player?
 
I think the closest thing youll get to that is:

Code:
find_ent_by_model ( StartEntity, Classname[], Model[] )

Zamma 10-28-2006 06:25

Re: Finding origin of MODEL and not the player?
 
Well for an "aimbot simulation" plugin im creating - the skulk (an alien) has a very low model but the player origin is ACTUALLY above the origin...

anyway to somehow instead aim at the model?


All times are GMT -4. The time now is 04:51.

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