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.
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)
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.. --"
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.
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
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"