Raised This Month: $ Target: $400
 0% 

How to set enitity's body


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Gadzislaw007
Senior Member
Join Date: Nov 2009
Old 07-28-2010 , 08:46   Re: How to set enitity's body
Reply With Quote #1

Thanks' for the 'ducking' tip.

Quote:
* what's the point of setting velocity 0 towards nothing ? */
Just forgot to erease that . So movetype is needen no more too?

Even so, code still isn't working properly. Nothing's happening when mine is touched by a player.
Gadzislaw007 is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 07-28-2010 , 09:25   Re: How to set enitity's body
Reply With Quote #2

I see you use MOVETYPE_FLY... I recommend using MOVETYPE_TOSS or something, so that the mine falls on it's own.

How do you hook the touch, register_touch() ?
See that you don't mix up variables in the function, first it's the ent then the ent touching it and also, see that the classname in the register_touch() is "landmine".
__________________
Hunter-Digital 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 00:15.


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