AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [SOLVED]Ent follow (https://forums.alliedmods.net/showthread.php?t=60070)

Alka 08-26-2007 08:23

[SOLVED]Ent follow
 
Hi.How can i make a ent follow a player ?! I've tried "set_pev(Ent, pev_movetype, MOVETYPE_FOLLOW);" but when is near me the server is crashing down! :S

Thanks.

Drak 08-26-2007 08:26

Re: Ent follow
 
After the "MOVETYPE_FOLLOW" do:
Code:
 set_pev(ent,pev_aiment,<entity_to_follow>);

Alka 08-26-2007 09:21

Re: Ent follow
 
Oh...thanks! ;) Solved


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

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