mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-30 14:26:10 +02:00
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:
parent
4ed8f3e5e2
commit
1637bba167
4 changed files with 196 additions and 26 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue