1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  4. Dismiss Notice
  5. The Highway to Hell has been laid open. Come along and participate in the 5th Special Effect Contest.
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.
Almia
Last Activity:
Jan 19, 2020
Joined:
Apr 24, 2012
Messages:
4,839
Albums:
7

Awarded Medals 2

Birthday:
Oct 17, 1997 (Age: 22)
Home Page:
Location:
Philippines
Occupation:
Vice President of Research and Development, Lyon

Almia

Resurrected, 22, from Philippines

shall be returning to the good ol' wc3 modding. Nov 21, 2018

Almia was last seen:
Jan 19, 2020
    1. jonbon29
      jonbon29
      Thanks man XD
    2. jonbon29
      jonbon29
      Custom script: call UnitAddAirborne(Temp_Target, 500, 1)

      I got an error Undeclared variable Temp_Target
    3. jonbon29
      jonbon29
      Hi again Almia, I was wondering how the airborne doesn't work in this trigger.


      Tempest Strike Damage
      Events
      Game - DamageEvent becomes Equal to 1.00
      Conditions
      (Level of Tempest Strike (Blind Monk) for DamageEventSource) Greater than 0
      IsDamageSpell Equal to False
      Actions
      Set Temp_Unit = DamageEventSource
      Set TempInteger = (Custom value of Temp_Unit)
      If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
      (Temp_Unit has buff Tempest) Equal to True
      Then - Actions
      Set DamageEventAmount = (DamageEventAmount + (0.30 x (Real((Intelligence of Temp_Unit (Include bonuses))))))
      Set Tempest_Count[TempInteger] = (Tempest_Count[TempInteger] + 1)
      If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
      Tempest_Count[TempInteger] Equal to 3
      Then - Actions
      Set Temp_Target = DamageEventTarget
      If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
      (Temp_Target is alive) Equal to True
      (Temp_Target is A structure) Not equal to True
      (Temp_Target is Magic Immune) Not equal to True
      Then - Actions
      Set TempPlayer = (Owner of Temp_Unit)
      Set Temp_Location = (Position of Temp_Target)
      Set TempAbility = All Purpose Stun (Dummy Ability)
      Unit - Create 1 Dummy Unit for TempPlayer at Temp_Location facing Default building facing degrees
      Set Temp_Dummy = (Last created unit)
      Unit - Add a 1.50 second Generic expiration timer to Temp_Dummy
      Unit - Add TempAbility to Temp_Dummy
      Unit - Order Temp_Dummy to Human Mountain King - Storm Bolt Temp_Target
      Custom script: call UnitAddAirborne(GetEnumUnit(), 500, 1)
      Set Tempest_Count[TempInteger] = 0
      Unit - Remove Tempest buff from Temp_Unit
      Custom script: call RemoveLocation(udg_Temp_Location)
      Else - Actions
      Else - Actions
      Else - Actions
      Set Tempest_Count[TempInteger] = 0

      [/hidden]

      The hero that has a buff will stun the enemy unit on his 3rd attack and also I want to airborne the enemy unit.

      Also how can I check if the unit is airborne, how to call its function?
    4. jonbon29
      jonbon29
      Yow is this Custom script: call UnitAddAirborne(GetEnumUnit(), 500, 1)
      the only thing that I should put in order to send a unit into airborne?

      Like this?


      Ground Smash Stun
      Events
      Unit - A unit Starts the effect of an ability
      Conditions
      (Ability being cast) Equal to Ground Smash (Wood Golem)
      Actions
      -------- ------------------------------------------------------------------------------------------------- --------
      -------- Getting the Spell constants --------
      -------- ------------------------------------------------------------------------------------------------- --------
      Set Temp_Unit = (Triggering unit)
      Set Temp_Location = (Position of Temp_Unit)
      Set TempPlayer = (Owner of Temp_Unit)
      Set Temp_Stats = (Strength of Temp_Unit (Include bonuses))
      Set Temp_Ability_Level = (Level of (Ability being cast) for Temp_Unit)
      Set TempAbility = Ground Smash Stun (Dummy Ability)
      -------- ------------------------------------------------------------------------------------------------- --------
      -------- Setting the Spell values --------
      -------- ------------------------------------------------------------------------------------------------- --------
      Set Temp_Value = (70.00 x (Real(Temp_Ability_Level)))
      Set Temp_Total_Value = (Temp_Value + (0.30 x (Real(Temp_Stats))))
      Set Temp_Group = (Units within 300.00 of Temp_Location matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is alive) Equal to True) and ((((Owner of (Matching unit)) is an enemy of TempPlayer) Equal to True) and (((Matching unit) is Magic Immune
      -------- ------------------------------------------------------------------------------------------------- --------
      -------- Generating a unit group --------
      Unit Group - Pick every unit in Temp_Group and do (Actions)
      Loop - Actions
      Unit - Create 1 Dummy Unit for TempPlayer at Temp_Location facing Default building facing degrees
      Set Temp_Dummy = (Last created unit)
      Unit - Add a 1.50 second Generic expiration timer to Temp_Dummy
      Unit - Add TempAbility to Temp_Dummy
      Unit - Set level of TempAbility for Temp_Dummy to Temp_Ability_Level
      Unit - Order Temp_Dummy to Neutral - Firebolt (Picked unit)
      Unit - Cause Temp_Unit to damage (Picked unit), dealing Temp_Total_Value damage of attack type Normal and damage type Normal
      Custom script: call UnitAddAirborne(GetEnumUnit(), 500, 1)
      -------- ------------------------------------------------------------------------------------------------- --------
      -------- Clearing leaks --------
      -------- ------------------------------------------------------------------------------------------------- --------
      Custom script: call RemoveLocation(udg_Temp_Location)
      Custom script: call DestroyGroup(udg_Temp_Group)

      [/hidden]

      Anyway it works fine, I just want to clarify.
    5. FRENGERS
      FRENGERS
      Can you give me the vJASS Revive Hero code of THIS??

      As you can see, the revive is in GUI, then how's the vJASS??
    6. jonbon29
      jonbon29
      Ah thanks for the reply dude :)

      I guess I'll just have to stun them.
    7. jonbon29
      jonbon29
      Hi there Almia, I was wondering if its possible to pause the unit as long as their airborne and unpause them when they are now on the ground?
    8. KhaosMachine
      KhaosMachine
      thank you almia :), how are you? I want come back to do a rpg map with a friend.
    9. jonbon29
      jonbon29
      Okay then thanks :ogre_haosis:
    10. jonbon29
      jonbon29
    11. Chaosy
      Chaosy
      I know how to use lists, I can add one. But I don't want to use a hashtable with a struct because then I could have used a hashtable to create the whole system to begin with.

      edit:
      Should be said that I usually use my own list but that's impossible since it is not in the spell section.
    12. KhaosMachine
      KhaosMachine
      Almia how are you? :)
    13. MasterHaosis
      MasterHaosis
      Almia, :cgrin:
    14. Ralle
      Ralle
      I don't think I touched anything :). Glad you are here.
    15. Roland
      Roland
      Tangina di ako si binay! mapagbigay!
    16. Roland
      Roland
      Yeah, It's like where brothers :P
    17. Flux
      Flux
      Ahh, if it will be too much of a hassle then forget it.
      I thought you still remember your account that's why I asked you :)
    18. Flux
      Flux
    19. Flux
      Flux
      Radamantus, natatandaan mo pa account mo sa wcunderground?
    20. Flux
      Flux
      Bakit mo natanong?
  • Loading...
  • Loading...
  • About

    Birthday:
    Oct 17, 1997 (Age: 22)
    Home Page:
    https://lxsmnsyc.github.io
    Location:
    Philippines
    Occupation:
    Vice President of Research and Development, Lyon
    Steam:
    nidhoggr_shadow
    - UI/UX Designer
    - Web Designer
    - Front End Developer
    - Back End Developer
    - Game Developer
    - Graphics Designer
    - Branding Designer
  • Loading...
  • Loading...
  • Loading...