• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

attack like razor from dota

Status
Not open for further replies.

el duderino

E

el duderino

yeah like the title says i need a trigger to let an unit attack like razor in dota
well with a chainlightningmodel as bulletmodel

thx for help
 
Level 2
Joined
Sep 1, 2005
Messages
34
just add ability "Lightning Attack", which elven chimera has

it should be enough i think
 
Level 2
Joined
Sep 1, 2005
Messages
34
function CreateLightning makes lightning from one point to another
it is someting like CreateEffect. U can use it, if u want make it by yourself... but if u dont have appropriate knowledge about jass...(leaks, nulling, timers etc)

as i said, to make lightning attack, add Lightnig Attack to unit
 

el duderino

E

el duderino

Jazvan said:
function CreateLightning makes lightning from one point to another
it is someting like CreateEffect. U can use it, if u want make it by yourself... but if u dont have appropriate knowledge about jass...(leaks, nulling, timers etc)

as i said, to make lightning attack, add Lightnig Attack to unit

in my little td there is a tower who should attack like razor
and i have used a trigger like this:

Code:
anytime a unit like this tower attacks an unit 
create a lightning effect with model of chainlightning from position of attacking unit to attacked unit
wait 0.2 secs
destroy last created lightningeffect

but with this sometimes such a created lightning effect stays undestroyed for the rest of the game and i think because of this trigger the game has crashed in the first beta
i hope this helps to explain the problem

again thx in
 
Level 2
Joined
Sep 1, 2005
Messages
34
as i said, to do it yourself, u will have to use JASS (i cannot help you, ive almost forget working in GUI(thats what u are working in, i guess))

theretically your script should work but it wont. I dont exactly know why.

Pls, try it via adding skill Lightning Attack to that tower. Modify missile model in this skill to chain lightning. It should work.

If this wont help, i can make little script for u, if i have time. :wink:
 
Level 5
Joined
Mar 11, 2006
Messages
195
his script wont work because triggers can interact with each other, when this triggers runs twice it will only destroy one lightning effect.

Edit: i will post a tutorial to solve this problem, since i have had the same.
 
Level 12
Joined
Jun 22, 2006
Messages
896
Let's just say Jazvan was right. Just add a 'Chain Lighting', 'Finger of Death' Instant projectile, and add the ability(not a actual ability you can see and use, just like the sphere) 'LIGHTNING ATTACK' Go check you chimera, it has a ability called Lighting attack, but does it have that ability in the game? It's not visible you see. Lightning attack is just to beautify your projectile art. Go under the abilities and edit the 'Lightning Attack', and dont touch anything except 'lightning effects'. Take out the original if you dont want blue lightning, and add finger of death. It will look like dagon, or finger of death, but it does the actual normal damage your unit is supposed to have. Then add the ability to your unit. Then happy lightninging

And by the way, that trigger thing is trying to complicate a lightning effect.

And also, Lightning Effect is not a trigger. Its an ability -.-"

X_x
 
Status
Not open for further replies.
Top