Raised This Month: $ Target: $400
 0% 

Entity disappears after using aiment.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ahujenas
Junior Member
Join Date: Oct 2006
Old 09-14-2012 , 03:14   Entity disappears after using aiment.
Reply With Quote #1

Hey, i'm coding this new aura "thingie" for ESF, and I have no idea why does my aura disappears after adding:

entity_set_edict( bAura[id], EV_ENT_aiment, id );

rest of the code looks like this:

Code:
new bAura[ 33 ];
new const bAuraModel[ ] = "models/evolution/Auras/shape_01.mdl";
bAura[ id ] = create_entity( "env_model" );
entity_set_model(bAura[id],bAuraModel);
entity_set_int( bAura[id], EV_INT_movetype, MOVETYPE_FOLLOW );
entity_set_edict( bAura[id], EV_ENT_aiment, id );
Everything works fine without using the ENT_aiment, but after I add the line, my aura disappears >.<, I need the aura to follow the person and I can't do it
ahujenas is offline
Reply



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 08:22.


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