• 🏆 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!
Ofel
Reaction score
31

Profile posts Latest activity Postings Experience Albums Resources About

  • ----------
    The knives on my spell is just spawn in one point. But the knives facing around the caster, I just saved the facing of each knives and use it as the angle to move
    ----------
    and aaahhh......... what number should be configurable in angle and facing?
    Try hard!!
    I'll return you rep after your spell is approved.(Rep(s) should be returned)
    i really really want to ask how to set point arround the caster like your knives attack spell?
    Two Spells uploaded (Y'all can look at my talent)
    1.Dimentional Displacement [Instant-Move]v1.0
    2.Dimentional Displacement [Pull-Height]v1.0
    loop
    Events
    Time - Every 2.00 seconds of game time
    Conditions
    Actions
    For each (Integer CurrentIndex) from 1 to MaxIndex, do (Actions)
    Loop - Actions
    Special Effect - Create a special effect at RandomPoint[1] using Special[1]
    Set SFX[1] = (Last created special effect)
    Special Effect - Create a special effect at RandomPoint[1] using Special[3]
    Set SFX[4] = (Last created special effect)
    Set TempGroup[1] = (Units within 300.00 of RandomPoint[1] matching (((Matching unit) belongs to an enemy of (Owner of TempUnit[MaxIndex])) Equal to True))
    Unit Group - Pick every unit in TempGroup[1] and do (Actions)
    Loop - Actions
    Unit - Cause TempUnit[CurrentIndex] to damage (Picked unit), dealing 250.00 damage of attack type Spells and damage type Fire
    Custom script: call DestroyGroup(udg_TempGroup[1])
    Special Effect - Create a special effect at RandomPoint[2] using Special[1]
    Set SFX[2] = (Last created special effect)
    Special Effect - Create a special effect at RandomPoint[2] using Special[3]
    Set SFX[5] = (Last created special effect)
    Set TempGroup[2] = (Units within 300.00 of RandomPoint[2] matching (((Matching unit) belongs to an enemy of (Owner of TempUnit[MaxIndex])) Equal to True))
    Unit Group - Pick every unit in TempGroup[2] and do (Actions)
    Loop - Actions
    Unit - Cause TempUnit[CurrentIndex] to damage (Picked unit), dealing 250.00 damage of attack type Spells and damage type Fire
    Custom script: call DestroyGroup(udg_TempGroup[2])
    Special Effect - Create a special effect at RandomPoint[3] using Special[1]
    Set SFX[3] = (Last created special effect)
    Special Effect - Create a special effect at RandomPoint[3] using Special[3]
    Set SFX[6] = (Last created special effect)
    Set TempGroup[3] = (Units within 300.00 of RandomPoint[3] matching (((Matching unit) belongs to an enemy of (Owner of TempUnit[MaxIndex])) Equal to True))
    Unit Group - Pick every unit in TempGroup[3] and do (Actions)
    Loop - Actions
    Unit - Cause TempUnit[CurrentIndex] to damage (Picked unit), dealing 250.00 damage of attack type Spells and damage type Fire
    Custom script: call DestroyGroup(udg_TempGroup[3])
    Custom script: call RemoveLocation(udg_TempPoint[udg_CurrentIndex])
    Special Effect - Destroy SFX[1]
    Special Effect - Destroy SFX[2]
    Special Effect - Destroy SFX[3]
    Special Effect - Destroy SFX[4]
    Special Effect - Destroy SFX[5]
    Special Effect - Destroy SFX[6]
    Set RandomPoint[1] = RandomPoint[1]
    Set RandomPoint[2] = RandomPoint[2]
    Set RandomPoint[3] = RandomPoint[3]
    Set Region = Region
    Set TempPoint[CurrentIndex] = TempPoint[MaxIndex]
    Set TempUnit[CurrentIndex] = TempUnit[MaxIndex]
    Set MaxIndex = (MaxIndex - 1)
    Set CurrentIndex = (CurrentIndex - 1)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    MaxIndex Equal to 0
    Then - Actions
    Trigger - Turn off (This trigger)
    Else - Actions

    maaf di pisah.tapi waktu di cast sama 2 orang,satu spell ada damagenya satu lagi gak ad damagenya
    sama post triggernya.
    Eh aku punya trigger kayak gini.
    init
    Events
    Map initialization
    Conditions
    Actions
    Set x = 500.00
    Set y = 500.00
    Set Special[1] = war3mapImported\NewGroundEX.mdl
    Set Special[2] = Objects\Spawnmodels\Other\FlameThrower\FlameThrowerSpawnObj.mdl
    Set Special[3] = Abilities\Weapons\PhoenixMissile\Phoenix_Missile.mdl
    Set Attach[1] = origin
    Set Attach[2] = head

    cast
    Events
    Unit - A unit Starts the effect of an ability
    Conditions
    (Ability being cast) Equal to |c00FF0303Lava Breath|r
    Actions
    Set MaxIndex = (MaxIndex + 1)
    Set TempUnit[MaxIndex] = (Triggering unit)
    Set TempPoint[MaxIndex] = (Position of TempUnit[MaxIndex])
    Set TempTarget[MaxIndex] = (Target point of ability being cast)
    Set Region = (Region centered at TempTarget[MaxIndex] with size (x, y))
    Set RandomPoint[1] = (Random point in Region)
    Set RandomPoint[2] = (Random point in Region)
    Set RandomPoint[3] = (Random point in Region)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
    MaxIndex Equal to 1
    Then - Actions
    Trigger - Turn on loop <gen>
    Else - Actions
    Special Effect - Create a special effect attached to the Attach[2] of TempUnit[MaxIndex] using Special[2]
    Unit - Create 1 Lava Ball for Neutral Passive at TempPoint[MaxIndex] facing (Facing of TempUnit[MaxIndex]) degrees
    Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
    Unit - Order (Last created unit) to Move To RandomPoint[1]
    Animation - Change (Last created unit) flying height to 50.00 at 600.00
    Set Dummy[1] = (Last created unit)
    Unit - Create 1 Lava Ball for Neutral Passive at TempPoint[MaxIndex] facing (Facing of TempUnit[MaxIndex]) degrees
    Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
    Unit - Order (Last created unit) to Move To RandomPoint[2]
    Animation - Change (Last created unit) flying height to 50.00 at 600.00
    Set Dummy[2] = (Last created unit)
    Unit - Create 1 Lava Ball for Neutral Passive at TempPoint[MaxIndex] facing (Facing of TempUnit[MaxIndex]) degrees
    Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
    Unit - Order (Last created unit) to Move To RandomPoint[3]
    Animation - Change (Last created unit) flying height to 50.00 at 600.00
    Set Dummy[3] = (Last created unit)
    Try creating a very unique,never-before-seen system but features a very helpful function.
    This will make you BrainStorm :D
    Good Luck
    so you are one of our youngest members here.
    You will be an epic coder someday because of your age.
    Damn.
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top