Hi all,
Im quite new to C# so dont start flaming at the start.
I have been exited to see a library like this here as i have been a user of many bots for a long time. And at this moment i am nearly dont with my study as web develloper so i know little about building classes etc.
At the moment im just looking around with the library to see what things i can use and what everything does.
For somebody who did not found out.
i wrote a small function to get the distance from the current toon to a certain position (X, Y, Z).
Code:
public double distanceFromMe(float nX, float nY, float nZ)
{
return Math.Sqrt((Math.Pow((double)(ObjectManager.Me.X - nX), 2.0) + Math.Pow((double)(ObjectManager.Me.Y - nY), 2.0)) + Math.Pow((double)(ObjectManager.Me.Z - nZ), 2.0));
}
Its just simple but im still learning etc.
I was wondering if somebody like to share how he found out to get the name of a object.
At this moment im looking for the names of a object with the type of 3. but i does not really matter as i think it will be the same with all objects.