Autocast ability ?

bLu3_eYeS

New Member
Reaction score
31
Hey. How do you make such a ability.For example , lets say i create a War Stomp spell for a unit.How do i make it autocast.For example , when he is attacked or has enemyes arround him he will cast it.
 
i believe it wont work because the autocast ability is for those right-click-ability such frost arrow or searing arrow. Use trigger
 
is it spell? if so,

event a unit attacked/GDD
condition attacked unit equal to your unit AND attacking unit equal to enemy of attacked unit is true
action order your unit to warstomp(unit action, order unit with no target)
 
This is ashame. But i hope it works. I dont had enough time to make GDD so here the awful comes.

Trigger:
  • Trigger For bLuE_EyEs
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Level of War Stomp for (Attacked unit)) Greater than 0
    • Actions
      • Unit - Order (Attacked unit) to Orc Tauren Chieftain - War Stomp


This wont work. I just gave you the idea.
 
Event
A unit is attacked
Condition
(Level of (war stomp)) for attacking unit greater than 0
Action
Set AC_Caster = attacking unit
Set AC_Owner = Owner of AC_Caster
Set AC_Caster_location = location of attacking unit
Set AC_Level = (Level of (war stomp)) for AC_Caster
Set AC_Chance = 4 * (real(AC_Level))
Set AC_Skill = War Stomp
--------------------------------------------------------------------------
If all condition true do then other else
Condition
(Random real number between (1 and 100)) greater than or equal to AC_Chance
Then
Create 1 dummy for AC_Owner at AC_Caster_Location facing default building degrees
Add AC_Skill to last created unit
Set level of AC_Skill of last created unit to AC_Level
Order Last created unit to chieftain - war stomp
Add generic time 3 second to last created unit
Else
--------------------------------------------------------------------------
call RemoveLocation (udg_AC_Caster_Location)





I'm sorry I ol at my cell phone rite now so I can't use trigger.. And I'm just trying to help.. I think my trigger will work.. But if I make false sry I'm still a newbie mapperz.. --"
 
Well, base the ability into the Frenzy (the one used by the pigs summoned by the Beastmaster). Removed the effects. Make it do nothing.

Trigger:
  • Melee Initialization
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Auto Stomp
    • Actions
      • Set Temploc = (Position of (Triggering unit))
      • Unit - Create 1 Dummy for (Owner of (Triggering unit)) at Temploc facing Default building facing degrees
      • Unit - Order (Last created unit) to Orc Tauren Chieftain - War Stomp
      • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
      • Custom script: call RemoveLocation(udg_Temploc)


The Dummy unit has a dummy warstomp ability btw
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top