Autocast

Ducati

Member!
Joined
Aug 14, 2004
Messages
106
Reaction score
0
Location
alaska
Website
Visit site
is it possible to make ne ability become a autocast ability?if so can i get a step by step guild on how to do this?
i wanna make lots of spells but i need to figure this out before i can continue with my map.
 

Father_Chaos

BattleForums Member
Joined
Nov 23, 2005
Messages
364
Reaction score
0
It depends on the ability. If it is on an already autocasting ability you want to copy and change the attributes, it will work fine.

However, you cannot put autocast on other abilities. The AI would not know when to autocast it...

Here's an example: Raise Dead. When autocast is on and a corpse is in the radius of the Necromancer, he will cast it.

But you can't make a skill like Death Coil to be an autocasting one; there is no predefined AI for the ability. It doesn't know when to cast it, and on who to cast it.

I hope it helps.
 

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
That's not the only problem... the other thing is that abilities just can't be autocast (some of them that is)... the text is there for it but it doesn't get enabled.
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
The only way you can make it autocast is by setting the cooldown to 0 and make the ability be used whenever a unit enters a region. Then loop it over and over until either the unit leaves or dies.
 

fokyip

Member!
Joined
Nov 23, 2005
Messages
17
Reaction score
0
what ability do you want auto-cast i could take a shot at it and make the trigger but i honestly can't say i can teach you it through it i just hope you can learn from the trigger that will be made
 

Ducati

Member!
Joined
Aug 14, 2004
Messages
106
Reaction score
0
Location
alaska
Website
Visit site
the abilities i need to be autocasted would be starfall,death and decay,stampede, and storm hammer
 

fokyip

Member!
Joined
Nov 23, 2005
Messages
17
Reaction score
0
Ducati said:
the abilities i need to be autocasted would be starfall,death and decay,stampede, and storm hammer
I'm only gonna do one I used the stom bolt one

You have to use a autocast ability I used curse just remove its data properties. Then use make a storm bolt ability make sure its cooldown is 1 and mana is 0.
Make a unit make its size -1.00 by holding down shift give it locust ability and invunerable ability.

Storm Bolt
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Curse
Actions
Set CursePoint = (Position of (Casting unit))
Unit - Create 1 <Name of your unit> for (Owner of (Triggering unit)) at TestPoint facing Default building facing degrees
Custom script: call RemoveLocation( udg_CursePoint )
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Target unit of ability being cast)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)

and there you have it an autocast I would give credit to Firefly cause he gave me a trigger and i learn off of it.

sorry forgot one more thing make a vairable >point. that is Curse point that is in the trigger.
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
Also, changed the Human Mountian King -Storm Bolt line to the unit you want. Also the spell doesn't have to be exact. Sometimes, if you say Forked Lightning when you have a spell equivalent to it: it casts it.
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
Pretty much the same thing.

Except only cast sfall when a unit ventures into a region and hope that unit has it.
 

Dream_Walker

BattleForums Senior Member
Joined
Feb 20, 2005
Messages
1,924
Reaction score
0
Location
Arcanum
Pretty much the same thing.

Except only cast sfall when a unit ventures into a region and hope that unit has it.
Regions won't help.

Just do something like, every 1 seconds check to see if there is [x] units in an AOE around you. If y is greater than x, then cast starfall. After that it'd probably be best to disable the ability.
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
Regions actually would, if there is only 1 of that character you need to use and the caster doesnt leave that region.

Then again, there is a trigger that allows regions to center on a unit.

You are right for a more than 1 perspective.
 

Ducati

Member!
Joined
Aug 14, 2004
Messages
106
Reaction score
0
Location
alaska
Website
Visit site
is there to make to make it work on a timer..?
like every 1 minute this unit casts starfall fo 30 seconds..
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
Yes, you can caus every Sfall unit on the map owned by all players to cast Sfall. As long as you set it to 1 minute, and they have the mana and stuff to activate it.

However, the problem is that the unit must be the same kind for a generic trigger to work.
 

NewPosts

New threads

Top