like from a players origin to a location shot (shot triggger)
then convert it to feet. i think 60 units is ~ 3 feet. not sure
I looked through g_allclasses.html and saw
so i was thinkingvector_subtract( Vector vector1, Vector vector2 )
Returns vector1 - vector2
local.dist = vector_subtract ( local.player.origin $trig.origin )
but it would give back 3 numbers
and i only need one
since ( x y z ) is an array i could do
local.dist[1]
local.dist[2]
leave out the 3 since that is hieght
should i add the 2 or what should i do to them to get the length of the shot
^ this is what i need help on
after i get that num (if i get that far)
i could
multiply the outcome by 20 to come up with the feet
i also have another question.
does
do anthing. sounds pretty cool but never heard of it. and i know a few things in that allclasses dont workprint3d( Vector origin, String string, [ String [strings] ] )
prints a string in 3D space

