Facepunch / garrysmod-requests

Feature requests for Garry's Mod
83 stars 24 forks source link

Bind NPC:GetArrivalSpeed and NPC:GetArrivalDistance to Lua #2386

Closed DrVrej closed 1 month ago

DrVrej commented 1 month ago

We already have SetArrivalSpeed and SetArrivalDistance but their getter methods aren't binded

NPC:GetArrivalSpeed ->https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/server/ai_navigator.cpp#L1072 NPC:GetArrivalDistance -> https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/server/ai_navigator.cpp#L1106

robotboy655 commented 1 month ago

Done.