• 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!

Spawned unit with auto cast ability

Status
Not open for further replies.
Level 12
Joined
Mar 30, 2013
Messages
664
  • Actions
    • Game - Display to (All players) the text: |cff9370dbKiran|r: ...
    • Set TempGroup = (Units in (Playable map area) matching ((Owner of (Triggering unit)) Equal to Player 6 (Orange)))
    • Set TempGroup2 = (Units in (Playable map area) matching ((((Matching unit) belongs to an enemy of Player 6 (Orange)) Equal to True) and ((Unit-type of (Matching unit)) Not equal to Black Citadel)))
    • Set Unitposition = (Position of (Random unit from TempGroup2))
    • For each (Integer A) from 1 to 1, do (Actions)
      • Loop - Actions
        • Set Spawn_Point2[1] = (Random point in SpawnRegions2[(Random integer number between 1 and 3)])
        • Unit - Create 1 |cffdc143cDestruction King|r for Player 6 (Orange) at Spawn_Point2[1] facing Default building facing degrees
        • Hero - Set (Last created unit) Hero-level to 20, Show level-up graphics
        • Unit - Set level of Vampiric Aura for (Last created unit) to 3
        • Unit - Set level of Bash for (Last created unit) to 3
        • Unit - Set level of Finger of Death (Archimonde) for (Last created unit) to 1
        • Unit - Set level of Dark Portal (Archimonde) for (Last created unit) to 3
        • Unit - Set level of Rain of Chaos (Archimonde) for (Last created unit) to 3
        • Unit - Order (Last created unit) to Attack-Move To Unitposition
        • Custom script: call RemoveLocation (udg_Spawn_Point2[1])
        • Custom script: call RemoveLocation (udg_Spawn_Point2[bj_forLoopAIndex])
        • Wait 0.00 seconds
    • Custom script: call DestroyGroup(udg_TempGroup)
    • Custom script: call DestroyGroup(udg_TempGroup2)
    • Custom script: call RemoveLocation(udg_Unitposition)
    • Unit - Set level of Vampiric Aura for (Last created unit) to 3
  • [Trigger/]
BUT! Thats only the level of the skills. NOT how he uses them.
 
Last edited:
Status
Not open for further replies.
Top