Raised This Month: $ Target: $400
 0% 

Some help with aura walls


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
OWNX
BANNED
Join Date: Nov 2013
Location: Usa
Old 01-03-2014 , 14:11   Some help with aura walls
Reply With Quote #1

I need to build a aura around a player ( origin ) , when nearby enemys are around ( lets say 800 units )
they will lose health ...

but is a bug ... when the player with aura is up on ct base ( dust 2 ) , the players from base inside ( under him ) will lose hp ...

so how can i determine if between target player and origin player is a wall ?


i used a simple code like this

if ( get_distance( id_origin, target_origin ) < RANGE )
{ give damage }

some one can help me ?

thanks ... sorry for my bad english
OWNX is offline
Send a message via ICQ to OWNX Send a message via AIM to OWNX Send a message via Yahoo to OWNX Send a message via Skype™ to OWNX
 



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 10:10.


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