Results 1 to 2 of 2
  1. #1

    Default World Editor : Make Command Ms



    • 2) For Action you will make '' Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions) '' after you must make this condition
      '' If (All Conditions are True) then do (Then Actions) else do (Else Actions)'' now you must make a seccont condition but now you must make it in If - Conditions Condition '' Or - Any (Conditions) are true '' the last but seriously condition is to make some examples for movement '' (Unit-type of (Picked unit)) Equal to Archmage '' and the last Condition : D '' Archmage is Equal to Archmage ''



      http://img338.imageshack.us/img338/9...ideevents2.jpg


    • 3)Now you must make what you want say at the game ex : Noob Your MS is 300 my trigger was '' Game - Display to (Player group((Triggering player))) the text: ((|cff87ceedYours|R |cffffcc00 + (Name of (Picked unit))) + ( |Rmovespeed is + (String((Current movement speed of (Picked unit)))))) ''

      http://img371.imageshack.us/img371/9...deevents3v.jpg

    Full Trigger :

    ms
    Events
    Player - Player 1 (Red) types a chat message containing -ms as An exact match
    Player - Player 2 (Blue) types a chat message containing -ms as An exact match
    Player - Player 3 (Teal) types a chat message containing -ms as An exact match
    Player - Player 4 (Purple) types a chat message containing -ms as An exact match
    Conditions
    Actions
    Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
    Loop - Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    Or - Any (Conditions) are true
    Conditions
    (Unit-type of (Picked unit)) Equal to Archmage
    Archmage Equal to Archmage
    Then - Actions
    Game - Display to (Player group((Triggering player))) the text: ((|cff87ceedYours|R |cffffcc00 + (Name of (Picked unit))) + ( |Rmovespeed is + (String((Current movement speed of (Picked unit))))))
    Else - Actions

    Download Test Map With Trigger :
    http://www.mediafire.com/?sharekey=d...eada0a1ae8665a
    http://rapidshare.com/files/25671820...forms.w3x.html
    Greek Casts o.O

    My Blog

  2. #2
    Rank: Rookie
    • Join Date: Jun 2010
    • Posts: 11

    Default

    Not satisfied, your trigger will only show the ms IF you are playing archmage.
    To do it correctly u should write a trigger that adds a hero to a hero group whenever the player summons/acquires it and then check the all the units in that group (and since there is only that hero in it it will result its movespeed). This will work properly only if u have 1 hero obviously, but it will work with Any hero, not just archmage like in your case.

    Also the Archmage equal to Archmage is plain unnecessary.
    Its like saying Fat guy is fat. waste of bits.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •