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 , 09:28   Re: How to set enitity's body
Reply With Quote #1

Well, touch is working for other entities, like rpgrocket, or something (cause I have mixed rpg in it). Only landmine isn't working.

I realized that the condition of my pfn_touch is bad.
Code:
if(equal(ClassName, "landmine") && equal(toucherClass, "player"))
It just doesn't work.

If i set just:

Code:
if(equal(ClassName, "landmine"))
Mine explodes after it touches the ground. I want to make it explode after touching player, what's wrong in my method (first post)?

Last edited by Gadzislaw007; 07-28-2010 at 10:30.
Gadzislaw007 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