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

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

Ответ
 
19death91
Kicked by Dron
offline
Опыт: 966
Активность:
Тип Юнита
Объясните пожалуйста, какой юнит кем считается я вообще не понимаю,кто такой выбранный или вошедший, юнит цель и т.д. или может об этом есть какая - то статья? И вообще,какой тип юнита чаще всего использую?
Старый 26.04.2009, 02:26
Альтаик
Basket-Man
offline
Опыт: 4,623
Активность:
Ты наверно не знаком с АНГЛИЙСКИМ, но это ничего
picked unit-выделенный юнит
entering unit-вошедший юнит
atacked unit-атакованный юнит
atacking unit-атакующий юнит
killing unit-убийца
duying unit-дохляк
есть еще куча типа matching unit, triggering unit, они используются непосредственно относительно в .....короч я не знаю как сказать
Старый 26.04.2009, 09:49
Votaxe

offline
Опыт: 68
Активность:
Цитата:
есть еще куча типа matching unit, triggering unit, они используются непосредственно относительно в .....короч я не знаю как сказать

trigerring unit - юнит что-либо сделавший, или юнит над которым было произведено действие..
например юнит получает предмет, кастануть по [тригеринг юнит] фаербол
как-то так..
Старый 26.04.2009, 11:10
Hellfim
Новичок
offline
Опыт: 79,707
Активность:
19death91, они используются в связи триггерах. Разные типы на разные события, но в основном используется Triggering Unit.
Старый 26.04.2009, 11:25
Альтаик
Basket-Man
offline
Опыт: 4,623
Активность:
Hellfim, ооо,это я и хотел сказать!!!!
Старый 26.04.2009, 12:07
puLser
Я мясо
offline
Опыт: 957
Активность:
ещё есть Casting unit - это юнит, который определяется по событию "Юнит приводит способность в действие"
(очень важно для активных абилок на ГУИ)
ещё есть Ordered Unit - это юнит, который триггерно получил приказ ( Issue order...)
Старый 26.04.2009, 18:00
FellGuard
Losyash
offline
Опыт: 39,547
Активность:
» читайте common.j
Код:
// common.j

constant native GetFilterUnit                             takes nothing returns unit
constant native GetEnumUnit                             takes nothing returns unit

constant native GetEnteringUnit                         takes nothing returns unit
constant native GetLeavingUnit                          takes nothing returns unit

constant native GetLevelingUnit                         takes nothing returns unit
constant native GetLearningUnit                         takes nothing returns unit
constant native GetRevivableUnit                        takes nothing returns unit
constant native GetRevivingUnit                         takes nothing returns unit
constant native GetAttacker                              takes nothing returns unit
constant native GetRescuer                               takes nothing returns unit
constant native GetDyingUnit                             takes nothing returns unit
constant native GetKillingUnit                             takes nothing returns unit
constant native GetDecayingUnit                        takes nothing returns unit
constant native GetConstructingStructure            takes nothing returns unit
constant native GetCancelledStructure                takes nothing returns unit
constant native GetConstructedStructure             takes nothing returns unit
constant native GetResearchingUnit                    takes nothing returns unit
constant native GetTrainedUnit                          takes nothing returns unit
constant native GetDetectedUnit                        takes nothing returns unit
constant native GetSummoningUnit                     takes nothing returns unit
constant native GetSummonedUnit                      takes nothing returns unit
constant native GetTransportUnit                       takes nothing returns unit
constant native GetLoadedUnit                           takes nothing returns unit
constant native GetSellingUnit                            takes nothing returns unit
constant native GetSoldUnit                               takes nothing returns unit
constant native GetBuyingUnit                            takes nothing returns unit
constant native GetChangingUnit                        takes nothing returns unit
constant native GetManipulatingUnit                    takes nothing returns unit
constant native GetOrderedUnit                          takes nothing returns unit
constant native GetOrderTargetUnit                    takes nothing returns unit
//  constant native GetOrderTarget                     takes nothing returns widget
constant native GetSpellAbilityUnit                      takes nothing returns unit
constant native GetSpellTargetUnit                     takes nothing returns unit
constant native GetEventDamageSource              takes nothing returns unit
constant native GetEventTargetUnit                    takes nothing returns unit

// returns handle to unit which triggered the most recent event when called from
// within a trigger action function...returns null handle when used incorrectly
constant native GetTriggerUnit takes nothing returns unit

Отредактировано FellGuard, 28.04.2009 в 19:51.
Старый 26.04.2009, 21:29
Ответ

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

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

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

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



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