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

Need Speel (Starfall)

Status
Not open for further replies.
Level 13
Joined
Mar 21, 2014
Messages
893
I think they uses dummy units with starfall
[trigger=Starfall]Starfall
Events
Unit - Unit start casting a ability
Conditions
Casting ability is ??? equal to true.
Actions
Set SFCaster = Casting unit
Set SFCasterLoc = Location of SFCaster
Set SFDummySpawn = Location of SFCaster
Unit - Spawn 1 SFDummy for owner of SFCaster at SFCasterLoc
Unt - Issue Last Created Unit to Night Elf Priestess of the moon - Starfall
Unit - Add 2 second Generic expiration timer to last created unit[/trigger]
This is just tutorial. And please continue yourself
 
...or:
  • Events:
    • Unit starts the effect of an ability
  • Conditions:
    • Ability being cast is equal to YourAbility
  • Actions:
    • Set u1 = Triggering unit
    • Set p = Owner of u1
    • Set loc1 = Position of u1
    • Set g = Units within 400 of loc1, matching ( Matching unit belongs to an enemy of p)
    • Unit Group - Pick every unit in g and do (Actions)
      • Set u2 = Picked unit
      • Set loc2 = Position of u2
      • Special effect = Create a special effect at loc2 using (Starfall effect)
      • Set sfx = Last created special effect
      • Special effect - Destroy sfx
      • Unit - Make u1 damage u2 dealing 100 damage of type Spells
      • Custom script: call RemoveLocation(udg_loc2)
      • set u2 = No unit
    • Set u3 = Random unit from g
    • Special effect = Create a special effect atttached to the chest of u3 using (some other effect)
    • Set sfx = Last created special effect
    • Special effect - Destroy sfx
    • Unit - Make u1 damage u3 dealing 100 damage of type Spells
    • Custom script: call RemoveLocation(udg_loc1)
    • Custom script: call DestroyGroup(udg_g)
    • set u1 = No unit
    • set u3 = No unit
    • set p = No player
 
Level 13
Joined
Sep 14, 2012
Messages
437
I think they uses dummy units with starfall
[trigger=Starfall]Starfall
Events
Unit - Unit start casting a ability
Conditions
Casting ability is ??? equal to true.
Actions
Set SFCaster = Casting unit
Set SFCasterLoc = Location of SFCaster
Set SFDummySpawn = Location of SFCaster
Unit - Spawn 1 SFDummy for owner of SFCaster at SFCasterLoc
Unt - Issue Last Created Unit to Night Elf Priestess of the moon - Starfall
Unit - Add 2 second Generic expiration timer to last created unit[/trigger]
This is just tutorial. And please continue yourself

Thanks but im goint with MaTiJa97 on this, thanks you guys +rep
 
Status
Not open for further replies.
Top