merlok Posted March 9, 2010 Share Posted March 9, 2010 Я в коде получил ID объекта (моба) и хочу узнать его координаты ну например координаты цели в таргете и ниче не получается - стандартная функция их неотдаеть может у кого получилось? Quote Link to comment Share on other sites More sharing options...
Guest sSwSs Posted March 9, 2010 Share Posted March 9, 2010 Координаты цели в таргете? Вот такое сойдет? local pos = object.GetPos( objectId ) ЗЫ: копи-паст с офф АПИ Quote Link to comment Share on other sites More sharing options...
merlok Posted March 10, 2010 Author Share Posted March 10, 2010 попробуй - оно не работает ( Quote Link to comment Share on other sites More sharing options...
ramirez Posted March 10, 2010 Share Posted March 10, 2010 А ты возьми список всех объектов в округе, где их погуще, и залоггируй их координаты. Для некоторых все же работает. Но не для всех, что обыдна. Quote Link to comment Share on other sites More sharing options...
Guest wait Posted March 10, 2010 Share Posted March 10, 2010 ну читайте сначала АПИ: Quote: В данный момент разрешено получать координаты транспортов и детектируемых юнитов. Quote: Это могут быть детекторы квестгиверов, торговцев и т.п. детектируемые avatar.EnableClientDetector( type, enable ) Quote Link to comment Share on other sites More sharing options...
merlok Posted March 11, 2010 Author Share Posted March 11, 2010 счас попробуем)))))) правда это добавит еще один пункт в невозможность моего аддона работать в стелс ) режиме один уже есть ( Quote Link to comment Share on other sites More sharing options...
Guest KentAVr57 Posted March 12, 2010 Share Posted March 12, 2010 а как узнать type объекта? и как к нему подойти? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.