AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Problem Solved] set_pev pev_origin and engfunc EngFunc_SetOrigin difference (https://forums.alliedmods.net/showthread.php?t=50119)

SubStream 01-19-2007 20:00

[Problem Solved] set_pev pev_origin and engfunc EngFunc_SetOrigin difference
 
I am working on converting all the plugins I use to only fakemeta instead of engine. I was wondering if someone would explain to me the difference between these two ways of setting origin:
Code:

engfunc ( EngFunc_SetOrigin, g_entbw[id], gfv_entorigin )
Code:

set_pev ( g_entbw[id], pev_origin, gfv_entorigin )
Is one better than the other? Is there any benefit to using one over the other? If you can help that is appreciated. Thanks.

Minimum 01-19-2007 20:05

Re: set_pev pev_origin and engfunc EngFunc_SetOrigin difference
 
Personally I use set_pev.

commonbullet 01-19-2007 20:20

Re: set_pev pev_origin and engfunc EngFunc_SetOrigin difference
 
http://forums.alliedmods.net/showpos...55&postcount=5

http://forums.alliedmods.net/showpos...65&postcount=7


All times are GMT -4. The time now is 22:31.

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