• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Who can tell me how to Create D.O.T.A kunka

Status
Not open for further replies.
Level 6
Joined
Mar 9, 2009
Messages
175
who can tell me how to Create D.O.T.A kunka Skill ..
like the Batterfury skill...


pls help me with this thanks you ;)
 
You need something like this:
  • Trigger
  • Events
    • Map Initialization
  • Conditions
  • Actions
    • Hashtable - Create a hashtable
    • Set Hashtable = (Last created hashtable)
    • Custom script: set bj_wantDestoryGroup = true
    • Unit Group - Pick every unit in (Units in (Playable Map Area)) and do (Actions)
      • Loop - Actions
        • Trigger - Add to Trigger2 <gen> the event (Unit - (Picked unit) takes damage)
  • Trigger1
  • Events
    • Unit - A unit enters (Playable Map Area)
  • Conditions
  • Actions
    • Trigger - Add to Trigger2 <gen> the event (Unit - (Triggering unit) takes damage)
  • Trigger2
  • Events
  • Conditions
    • (Level of Tidebringer for (Damage source)) Greater than 0
    • ((Triggering unit) is a structure) Equal to False
  • Actions
    • Unit - Remove Blades of Attack (custom) from (Damage source)
    • Unit - Remove Cleaving Attack from (Damage source)
    • Unit Group - Add (Damage source) to TempGroup
    • Hashtable - Save (-4 x (Level of Tidebringer for (Damage source)) + 20) as (Key(timer)) of (Key(Damage source)) in Hashtable
    • Trigger - Turn on Trigger3 <gen>
  • Trigger3
  • Events
    • Time - Every 1.00 seconds of game-time
  • Conditions
  • Actions
    • If (All conditions are true) then do (Actions) else do (Actions)
      • If - Conditions
        • (TempGroup is empty) Equal to False
      • Then - Actions
        • Unit Group - Pick every unit in (TempGroup) and do (Actions)
          • Loop - Actions
            • Set Timer = (Load (Key(timer)) of (Key(Picked unit)) from Hashtable)
            • If (All conditions are true) then do (Actions) else do (Actions)
              • If - Conditions
                • (Timer) Not Equal to 0
              • Then - Actions
                • Hashtable - Save (Timer - 1.00) as (Key(timer)) of (Key(Picked unit)) in Hashtable
              • Else - Actions
                • Unit - Add Claws of Attack (custom) to (Picked unit)
                • Unit - Set level of Claws of Attack (custom) for (Picked unit) to (Level of Tidebringer for (Picked unit))
                • Unit - Add Cleaving attack to (Picked unit)
                • Unit - Set level of (Cleaving attack) for (Picked unit) to (Level of Tidebringer for (Picked unit))
                • Hashtable - Clear all child hashtables of (Key(Picked unit)) in Hashtable
      • Else - Actions
        • Trigger - Turn off (This trigger)
You just need an ability based off Claws of Attack with 4 levels and an ability based off Cleaving Attack with 4 levels.

For more about hashtables:
http://www.hiveworkshop.com/forums/trigger-gui-editor-tutorials-279/hashtables-mui-133407/
 
Level 6
Joined
Mar 9, 2009
Messages
175
wat does it mean off?? and i need use what skill to cast this skill


i've found an error at Custom script: set bj_wantDestoryGroup = true
1st trigger
 
Status
Not open for further replies.
Top