Chain Lightning Autocast?

SpartanWho

New Member
Reaction score
0
How can I get chain lightning to have an autocast option? Also, how can I make an ability automatically be constantly autocasting? Sorry if I seem like a noob :banghead:

Best Regards,
SpartanWho
 

jackall

You can change this now in User CP.
Reaction score
37
you mean like frost/fire arrows and such? just modify the order strings Turn off and Activate(i think), be sure to use orders that are like frost arrows orders or else it might not work(even if you do get them right it still might not work)
 

Avaleirra

Is back. Probably.
Reaction score
128
I don't think that will do it. I believe you need to change the order ID of the spell itself.

For example, your spell is probably based off chain lightning. Base it off something like faerie fire instead.
 

Tru_Power22

You can change this now in User CP.
Reaction score
144
I don't think that will do it. I believe you need to change the order ID of the spell itself.

For example, your spell is probably based off chain lightning. Base it off something like faerie fire instead.

You need to make a dummy unit, give it chain lightning then order it to cast it. Just FYI.
 

Moridin

Snow Leopard
Reaction score
144
Well, the two ways would be:
1) Base it off an auto-cast-able ability
2) Trigger it with a dummy.

I suggest number 2, mainly because I have no idea if there's a base spell that has auto-cast enabled and allows it to bounce between enemy targets.
 

SpartanWho

New Member
Reaction score
0
Thanks for the help guys! I'll try out Moon Glaive first, then I'l try the dummy unit method.

Best Regards,
SpartanWho
 

takethat

Active Member
Reaction score
12
theres another way,

give the original chain lightning (u may modify its cd, dmg, bounce target)

make a trigger like this, (sorry i dun have WE now)

event - a unit is atked
condition - unit type of atking unit == (your type)
action - order atking unit to [orc - chain lightning] atked unit


this simple trigger will force the ur hero whenever he atk a unit, will cast the chain lightning on the target, however if ur hero did not learn chain lightning, this trigger will just do nothing.

you may add chances of auto casting too like this :

make a integer variable - TempInt1

same event
same condition
action -
set TempInt1 == random number from 1-100
if then else
if TempInt1 => 1
TempInt1 =< 35
then
order atking unit to [orc - chain lightning] atked unit
else

this will give u a 35% on auto casting,

pro: simple and not involving dummy nor point variable, will not leak
con: do not disable player to cast the spell manually, only 1 spell is require.
 

Dest

New Member
Reaction score
26
Moon Glaive should be able to do that. It bounces and is auto.

What if you wanted to click the ability? It wouldn't work and therefore defeating the purpose.

The dummy unit is only the thing you're stuck with.
 

ertaboy356b

Old School Gamer
Reaction score
86
Go look for the ability called "Orb of Lightning" something..

then edit the ability something and put Chain Lightning there..

You will be able to autocast chain lightning now..
 

dls

New Member
Reaction score
0
or so easy create and edit spell phenix fire.. if unit have got phenix fire automatically shoots but must edit effect phenix fire on the lighting effect :)

sorry for my english :nuts:
 

Joccaren

You can change this now in User CP.
Reaction score
54
Orb of lightning gives a chance that a spell will be cast whilst attacking.
Phoenix Fire passively shoots at nearby enemies.

Create a spell based of faerie fire that does nothing.
Change its icons, tooltips ect. to that of chain lightning
Create a dummy unit with the real chain lightning spell in the OE

Use this Tigger:

Event: Unit starts the effects of an ability
Conditions:Ability being cast equal to (FearieFireChainLightning)
Actions: Create one dummy unit for owner of triggering unit
Order last created unit to orc-Far Seer- Chain Lightning target unit of ability being cast
add a 1 second generic expiration time to last created unit.
 

reyghost

New Member
Reaction score
14
theres another way,

give the original chain lightning (u may modify its cd, dmg, bounce target)

make a trigger like this, (sorry i dun have WE now)

event - a unit is atked
condition - unit type of atking unit == (your type)
action - order atking unit to [orc - chain lightning] atked unit


this simple trigger will force the ur hero whenever he atk a unit, will cast the chain lightning on the target, however if ur hero did not learn chain lightning, this trigger will just do nothing.

you may add chances of auto casting too like this :

make a integer variable - TempInt1

same event
same condition
action -
set TempInt1 == random number from 1-100
if then else
if TempInt1 => 1
TempInt1 =< 35
then
order atking unit to [orc - chain lightning] atked unit
else

this will give u a 35% on auto casting,

pro: simple and not involving dummy nor point variable, will not leak
con: do not disable player to cast the spell manually, only 1 spell is require.

Not a good idea that event can be exploited,moridin an joccarens answers are the ones that should give overall better results
 

takethat

Active Member
Reaction score
12
why do people need to exploit that event when the spell can also be manually cast? giving cd and mana cost to the spell will make it unexploitable.

its just another option making autocast, one that does not require creating a location and extra unit and then remove them in the same moment.
 

Joccaren

You can change this now in User CP.
Reaction score
54
why do people need to exploit that event when the spell can also be manually cast? giving cd and mana cost to the spell will make it unexploitable.

its just another option making autocast, one that does not require creating a location and extra unit and then remove them in the same moment.

but then how do you tun on/off autocast?
 

lh2705

Just another Helper
Reaction score
111
Orb of Slow
Chain Lightning

set the orb of slow % chance to trigger to 100%
CD - 0 seconds
add chain lightning as the spell being casted.
 

Joccaren

You can change this now in User CP.
Reaction score
54
Orb of Slow
Chain Lightning

set the orb of slow % chance to trigger to 100%
CD - 0 seconds
add chain lightning as the spell being casted.

Again, how would you turn autocast on/off?
 

Dinowc

don't expect anything, prepare for everything
Reaction score
223
Again, how would you turn autocast on/off?

base it of any autocastable ability

when a unit is ordered to autocast on/off , get the order string of it and write it down

then whenever a unit is ordered something, check if the order equal to <order string>

if it is equal to "autocast on", use a dummy
if it is equal to "autocast off", disable the dummy

a bit complicated though...
 

Joccaren

You can change this now in User CP.
Reaction score
54
base it of any autocastable ability

when a unit is ordered to autocast on/off , get the order string of it and write it down

then whenever a unit is ordered something, check if the order equal to <order string>

if it is equal to "autocast on", use a dummy
if it is equal to "autocast off", disable the dummy

a bit complicated though...

What I've already said, I'm just asking how lh2705's method is going to enabled/disable autocasting.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top