[Hỏi đáp] Trigger Editor

Thảo luận trong 'World Editor' bắt đầu bởi boywitch, 25/11/12.

  1. boywitch

    boywitch Youtube Master Race

    Tham gia ngày:
    25/11/12
    Bài viết:
    22
    Ai biết làm cái trigger giống legend of the dragon thì chỉ giáo em với. VD : Em có 1 items tên là beam thì khi đi vào cái vòng tròn đã đặt region ở đó thì em sẽ biến thành con beam đó luôn và sau khi biến em sẽ di chuyển đến một region khác đã đặt ở đâu đấy. Anh chị nào hoặc anh Tom có bik thì chỉ giúp em với.:2cool_burn_joss_sti
     
  2. Evil_Hunter

    Evil_Hunter Mario & Luigi

    Tham gia ngày:
    18/9/11
    Bài viết:
    786
    Nơi ở:
    Evil Forest
    Mã:
    Untitled Trigger 001
        Events
            Unit - A unit enters Region 000 <gen>
        Conditions
            ((Entering unit) has an item of type Tome of Experience) Equal to True
        Actions
            Set point = (Center of (Playable map area))
            Unit - Replace (Entering unit) with a Footman using The old unit's relative life and mana
            Unit - Move (Entering unit) instantly to point
            Custom script:   call RemoveLocation(udg_point)
    
    Tham khảo và điều chỉnh
    Sự kiện là một unit đi vào 1 region, đk là unit đó có item gì đấy
    => Thay unit đó = unit mới và move nó tới point kia
    À thiếu lệnh item - remove nữa..
     
  3. boywitch

    boywitch Youtube Master Race

    Tham gia ngày:
    25/11/12
    Bài viết:
    22
    Cam? on ban. nhieu` nha. ( ko hiu? sao cai' unikey hoi` nay~ viet' dc bay gio` viet' ko dc )
     
  4. NguLongHaKhac

    NguLongHaKhac T.E.T.Я.I.S

    Tham gia ngày:
    5/2/11
    Bài viết:
    653
    Nơi ở:
    MC
    Đầy đủ :
    Mã:
    Evt- A unit enter [ khuvực đi vào]
    Conditions - Entering Unit has an item of type [Songoku] Equal to True
    Actions - Item Remove Item carried by Entering unit of type [Songoku]
    Unit - Remove Entering unit from the game
    Unit - Create Songoku for Owner ò Entering Unit at Center of Playable Arena facing Default building facing degrees
    Hero - Give (Item carried by Entering Unit in slot 1) to ( Last created Unit)
    Hero - Give (Item carried by Entering Unit in slot 2) to ( Last created Unit)
    Hero - Give (Item carried by Entering Unit in slot 3) to ( Last created Unit)
    Hero - Give (Item carried by Entering Unit in slot 4) to ( Last created Unit)
    Hero - Give (Item carried by Entering Unit in slot 5) to ( Last created Unit)
    Hero - Give (Item carried by Entering Unit in slot 6) to ( Last created Unit)
    
    Lần sau có post thì post vào topic hỏi đáp,không là ăn point đấy :8cool_tire:
     

Chia sẻ trang này