Post: Is there a "Player Radius" data type?
04-10-2016, 06:21 PM #1
HeroWin
Java Developer
(adsbygoogle = window.adsbygoogle || []).push({}); is there a player radius data type in bo2?

I want to write a function in a manner like:

    if player radius > somthing
then excute blah blah blah
(adsbygoogle = window.adsbygoogle || []).push({});
04-10-2016, 06:38 PM #2
BrevzHoster
Are you high?
RadiusDamage(ExpLocation, 500, 500, 100, self);

or you could use this and instead it killing them you make it so it does a function
You must login or register to view this content.
04-10-2016, 06:39 PM #3
BrevzHoster
Are you high?
RadiusDamage(ExpLocation, 500, 500, 100, self);

or you could use this and instead it killing them you make it so it does a function
You must login or register to view this content.
04-10-2016, 06:41 PM #4
BullyWiiPlaza
Climbing up the ladder
What about a distance function?

    float distance( vector, vector )	
float distance2d( vector, vector )
float distance2dsquared( vector, vector )
float distancesquared( vector, vector )
04-10-2016, 06:45 PM #5
FRINZ
I’m too L33T
here is a example if u mean distance n radius
You must login or register to view this content.

if(Distance(orgin of wat u wanna use,self.origin)<=200)
{
// function
}

if that mks sense
04-11-2016, 12:42 AM #6
HeroWin
Java Developer
AHHH yeah... just assign the players current position and apply the radius on it and make act like it's the player model... cool cool thanks all

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo