|
楼主 |
发表于 2014-2-15 02:49:00
|
显示全部楼层
- set u=CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE),'n00W',1745,-4525,300)
- set t=CreateTrigger()
- call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_SELECTED)
- call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DESELECTED)
- call TriggerAddCondition(t,Condition(function ShopAnimation))
- set u=CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE),'n00V',1755,-4395,300)
- set t=CreateTrigger()
- call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_SELECTED)
- call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DESELECTED)
- call TriggerAddCondition(t,Condition(function ShopAnimation))
- set u=CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE),'n00Y',1765,-4265,300)
- set t=CreateTrigger()
- call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_SELECTED)
- call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DESELECTED)
- call TriggerAddCondition(t,Condition(function ShopAnimation))
- set u=CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE),'n00X',1775,-4135,300)
- set t=CreateTrigger()
- call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_SELECTED)
- call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DESELECTED)
- call TriggerAddCondition(t,Condition(function ShopAnimation))
- set u=CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE),'n014',1210,-4580,270)
- set t=CreateTrigger()
- call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_SELECTED)
- call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DESELECTED)
- call TriggerAddCondition(t,Condition(function ShopAnimation))
- set u=CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE),'n013',1340,-4580,270)
- set t=CreateTrigger()
- call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_SELECTED)
- call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DESELECTED)
- call TriggerAddCondition(t,Condition(function ShopAnimation))
- set u=CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE),'n010',1470,-4580,270)
- set t=CreateTrigger()
- call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_SELECTED)
- call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DESELECTED)
- call TriggerAddCondition(t,Condition(function ShopAnimation))
- set u=CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE),'n00Z',1600,-4580,270)
- set t=CreateTrigger()
- call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_SELECTED)
- call TriggerRegisterUnitEvent(t,u,EVENT_UNIT_DESELECTED)
- call TriggerAddCondition(t,Condition(function ShopAnimation))
复制代码
//////////////////////////////////////////////////这个结构一样单独添加进去正常运行无弹框。就是坐标不同而已。奇葩了哪里出问题了? |
|