Raised This Month: $ Target: $400
 0% 

register_touch with a spawned env_sprite


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bad_Bud
Senior Member
Join Date: Oct 2006
Location: The internet
Old 08-15-2009 , 04:02   Re: register_touch with a spawned env_sprite
Reply With Quote #3

Still doesn't work. I guess sprites don't allow touching for some reason.

It's easy to work around at least, but it uses twice as many entities, which kind of sucks.

I make a second entity with no model, basically just a size and a SOLID_TRIGGER, and I save the sprite's entid inside the EV_INT_team value so I can delete them both later by just referencing the "active" ent.

As far as the sprites are concerned, I had the sprite created with SOLID_BBOX for testing purposes, and I could dance on it and touch it and everything, but as soon as I spawned it (started the animation), it was no longer solid or touchable.
__________________
Bad_Bud is offline
 



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 14:59.


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