XGM Forum
Сайт - Статьи - Проекты - Ресурсы - Блоги

Форуме в режиме ТОЛЬКО ЧТЕНИЕ. Вы можете задать вопросы в Q/A на сайте, либо создать свой проект или ресурс.
Вернуться   XGM Forum > Warcraft> Академия: форум для вопросов
Ник
Пароль
Войти через VK в один клик
Сайт использует только имя.

Ответ
 
Terros

offline
Опыт: 2,502
Активность:
Не хочет работать
Вот хотел сделать рокету чтоб прыгала несколько раз по врагам , почти как нада ,но
если цель сдохла от рокеты ,то на следующего рокета не летит...
Из за чего так?
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Homing Cluster Rocket for (Casting unit)) Equal to 1
Then - Actions
Set Caster = (Casting unit)
Set Source = (Target unit of ability being cast)
Wait until (((Source has buff Stunned (Pause)) Equal to True) or ((Source is dead) Equal to True)), checking every 0.10 seconds
Set Target = (Random unit from (Units within 600.00 of (Position of Source) matching (((((Matching unit) is alive) Equal to True) and (((Matching unit) has buff Stunned (Pause)) Equal to False)) and ((((Owner of (Matching unit)) is an enemy of (Owner of Caster)) Equal to
Unit - Create 1 Rocket Homing 1 for (Owner of Caster) at (Position of Source) facing (Random angle) degrees
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt Target
Unit - Add a 4.00 second Generic expiration timer to (Last created unit)
Wait until (((Target has buff Stunned (Pause)) Equal to True) or ((Target is dead) Equal to True)), checking every 0.10 seconds
Set Source = Target
Set Target = (Random unit from (Units within 600.00 of (Position of Source) matching (((((Matching unit) is alive) Equal to True) and (((Matching unit) has buff Stunned (Pause)) Equal to False)) and ((((Owner of (Matching unit)) is an enemy of (Owner of Caster)) Equal to
Unit - Create 1 Rocket Homing 1 for (Owner of Caster) at (Position of Source) facing (Random angle) degrees
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt Target
Unit - Add a 4.00 second Generic expiration timer to (Last created unit)
Else - Actions
Старый 11.12.2005, 18:38
Ответ

Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск

Ваши права в разделе
Вы не можете создавать темы
Вы не можете отвечать на сообщения
Вы не можете прикреплять файлы
Вы можете скачивать файлы

BB-коды Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход



Часовой пояс GMT +3, время: 07:12.