# NextBot:MoveToPos

- **Ortam:** Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/NextBot:MoveToPos
- **Çeviri tarihi:** 2025-09-08

```lua
string NextBot:MoveToPos( Vector pos, table options )
```

## Açıklama

Sadece davranış coroutine'i içerisinde çağrılmalıdır! Bot hedefe ulaşana veya takılana kadar bekleyecektir

## Argümanlar

1. [Vector](https://gmod.tr/wiki/Vector) **pos**: Ulaşmak istediğimiz pozisyon
2. [table](https://gmod.tr/wiki/table) **options**: Bir dizi ayarlanabilir seçenek içeren bir tablo. - [number](https://gmod.tr/wiki/number) lookahead - Minimum ileri bakış mesafesi. - [number](https://gmod.tr/wiki/number) tolerance - Hedefin tamamlanmış sayılabilmesi için ne kadar yakın olunması gerektiği. - [boolean](https://gmod.tr/wiki/boolean) draw - Yolu çizer. Sadece dinleme sunucularında ve tek oyunculu modda görülebilir. - [number](https://gmod.tr/wiki/number) maxage - Yolun zaman aşımına uğramadan önceki maksimum yaşı. - [number](https://gmod.tr/wiki/number) repath - Bu saniye sayısından sonra yolu yeniden oluşturur.

## Dönen Değerler

1. [string](https://gmod.tr/wiki/string): NPC'nin durumuna bağlı olarak `"failed"`, `"stuck"`, `"timeout"` veya `"ok"` döner

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/NextBot:MoveToPos
