• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Meat Hook problem.

Status
Not open for further replies.
Use these line to change unit position instead of Unit - Move unit to a location.
  • Custom script: call SetUnitX (udg_MeatHook_SnagUnit, GetLocationX (udg_MeatHook_SnagLoc[2]))
  • Custom script: call SetUnitY (udg_MeatHook_SnagUnit, GetLocationY (udg_MeatHook_SnagLoc[2]))
 
CreepType needs 12
CreepLoc needs 6
MeatHook_Dummy needs... hm idk but i seted it to 5 and works good
MeatHook_Group needs 2
MeatHook_Loc needs 3
MeatHook_SnagLock needs 2

And I think it must hook the target and bring it ot the hero if he moves instead of the cast point but im nots sure (thats what i remember from playing pudge wars)
 
ForeverBeADragon, could You enter current triggere's names, because I almost don't orient in this trigger ^^

nedio95, maybe it would work on this map, byt this is only a platform, this ability lives in another map)))

Maker, where can I find "collision off" command(function)?
 
Last edited by a moderator:
There is an Edit Button. Don't triple post!
edit.gif

  • RetractHook
    • Events
      • Time - Every 0.04 seconds of game time
    • Conditions
    • Actions
      • Set MeatHook_SnagLoc[1] = (Position of MeatHook_SnagUnit)
      • Set MeatHook_SnagLoc[2] = (MeatHook_SnagLoc[1] offset by 40.00 towards (Angle from MeatHook_SnagLoc[1] to MeatHook_Loc[1]) degrees)
      • Set MeatHook_Number = (MeatHook_Number - 1)
      • Unit - Remove MeatHook_Dummy[MeatHook_Number] from the game
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Integer((Distance between MeatHook_Loc[1] and MeatHook_SnagLoc[1]))) Greater than 85
        • Then - Actions
          • Custom script: call SetUnitX (udg_MeatHook_SnagUnit, GetLocationX (udg_MeatHook_SnagLoc[2]))
          • Custom script: call SetUnitY (udg_MeatHook_SnagUnit, GetLocationY (udg_MeatHook_SnagLoc[2]))
        • Else - Actions
      • Custom script: call RemoveLocation(udg_MeatHook_SnagLoc[1])
      • Custom script: call RemoveLocation(udg_MeatHook_SnagLoc[2])
 
Status
Not open for further replies.
Back
Top