Fakov
Viva la Fa
offline
Опыт:
102,018Активность: |
Двигаться до точки каста
вот триггер полностью:
» кот
Проблема следующая: юнит-снаряд летит только на расстояние udg_dist (оно равно 1000). Как сделать так, чтобы юнит-снаярд летел в точку спеллкаста? То есть если указал перед собой - снаряд пролетел метр и исчез, а если указал другой конец карты - он полетел в этот другой конец карты.
код как видите не мой, мои только исправления(под рук-вом Doc'a). Если не трудно - разжуйте как для конченного, ибо я с джассом дальше локалок не дружу =(((( |
30.01.2011, 14:11 | #1
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
Doc
offline
Опыт:
63,163Активность: |
Лениво переписал, должно работать. |
30.01.2011, 15:39 | #2
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
Fakov
Viva la Fa
offline
Опыт:
102,018Активность: |
в центр карты все летит(((((( |
30.01.2011, 15:54 | #3
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
megasniper
offline
Опыт:
3,656Активность: |
мой неизвестно почему не работающий код)
|
30.01.2011, 15:59 | #4
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
Doc
offline
Опыт:
63,163Активность: |
Fakov, абила то с точкой каста? |
30.01.2011, 16:02 | #5
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
Fakov
Viva la Fa
offline
Опыт:
102,018Активность: |
да, абила с точкой каста. |
30.01.2011, 16:04 | #6
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
spellwerk
offline
Опыт:
4,869Активность: |
это ужас какой-то, по-моему проще с нуля все написать, чем искать ошибки или менять этот код =( |
30.01.2011, 16:30 | #7
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
Fakov
Viva la Fa
offline
Опыт:
102,018Активность: |
Spy_, кому как. Мне например не проще(( да и разницы в этих двух способах решения проблемы я все равно не вижу. Никто не хочет помогать все равно =\ |
30.01.2011, 16:31 | #8
+0/−1
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
Doc
offline
Опыт:
63,163Активность: |
Если так не будет работать давай карту. |
30.01.2011, 16:38 | #9
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
Fakov
Viva la Fa
offline
Опыт:
102,018Активность: |
док, не работает(в центр все равно летит), смотри личку
=( |
30.01.2011, 16:41 | #10
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
Doc
offline
Опыт:
63,163Активность: |
Вполне можешь передать автору спелла мои искренние пожелания насчет его дальнейшей судьбы в кодинге. |
30.01.2011, 16:52 | #11
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|
Fakov
Viva la Fa
offline
Опыт:
102,018Активность: |
=О
*восторженный мат*
РАБОТАЕТ! Спасибо!)
автору не знаю - вряд ли передам, но при возможности - сразу же))
Закрывайте |
30.01.2011, 16:58 | #12
+0/−0
Профиль |
Приват |
Поиск |
Цитата |
IP: Записан
|