added target finding within box (thanks kjLotus!)

- added function to return position as Vector3 to Actor (todo: maybe we should just use the class instead of 3 separate floats?)
- added function to return all actors in Area
- actually added documentation to TargetFind stuff (kill me pls)
- todo: actually test this..
This commit is contained in:
Tahir Akhlaq 2017-07-10 02:31:37 +01:00
parent 4ed8f3e5e2
commit 1637bba167
4 changed files with 196 additions and 26 deletions

View file

@ -544,6 +544,11 @@ namespace FFXIVClassic_Map_Server.Actors
return pos;
}
public Vector3 GetPosAsVector3()
{
return new Vector3(positionX, positionY, positionZ);
}
public void SetPos(float x, float y, float z, float rot = 0, uint zoneId = 0)
{
oldPositionX = positionX;