• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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