(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Modding > Triggers & Scripts

Triggers & Scripts Discussions regarding GUI triggers & JASS/AI scripts may be found here. Please review the » JASS Tutorials » Trigger Tutorials

Reply
 
LinkBack Thread Tools Display Modes
Old 11-17-2008, 05:47 PM   #1 (permalink)
 
Igor_Z's Avatar

User
 
Join Date: Jul 2008
Posts: 221

Igor_Z has little to show at this moment (7)


Question Assassinate spell

Hey guys i have made an assassinate spell like dwarven sniper's ultimate spell on dotA, but it doesn't hit invisible units can u tell me why i will post my triggers and my test map. You just tell me what can i do for that?!

E:A unit starts the effects of an ability
A unit begins casting an ability
A unit begins channeling an ability
C:Ability being cast equal to Assassinate
A:Set Sniper_Caster = Casting unit
Set Sniper_Target = Targeted unit of ability being cast
Unit - Create 1 Sniper Dummy at position of Sniper Target
Set Sniper_Dummy = Last created unit
Unit - Add Assassinate Buff to Sniper_Dummy
Unit - Order Sniper_Dummy to Neutral Alchemist - Acid Bomb Sniper_Target
If: (Sniper_Target has buff Sniped) equal to true
Then: Unit - Grant Shared vision of Sniper_Target to owner of Sniper_Caster
Else: Do nothing
Not in else: Wait 1 second
Unit - Remove Sniper_Dummy from the game
Attached Files
File Type: w3x L L CooL I's Spell Pack.w3x (38.5 KB, 2 views)
__________________
Here you see PTC sites. These sites are for earning money online... If u want more PM me and i will give them to you... Read the home page so that u know what are these sites for

http://www.buxout.com/?r=igorz
http://www.neobux.com/?r=igorz
http://www.sandraclicks.com/?ref=igorz
http://ptcnation.org/?ref=4b697b7a5c
http://www.roudycash.com/?r=igorz
Igor_Z is offline   Reply With Quote
Old 11-17-2008, 09:36 PM   #2 (permalink)
 
Emm-A-'s Avatar

User
 
Join Date: Jul 2008
Posts: 350

Emm-A- has little to show at this moment (33)Emm-A- has little to show at this moment (33)Emm-A- has little to show at this moment (33)Emm-A- has little to show at this moment (33)


didnt dl your map but maybe your base spell for "assassinate" cant target invisible units?

And i guess you mean invincible not invisible?!

If you want to allow invincible targets, you could use the "channel"-ability and modify this one?
__________________
Dont forget to give reputation to people, that helped you :)
Emm-A- is online now   Reply With Quote
Old 11-17-2008, 09:37 PM   #3 (permalink)
 
hawk900's Avatar

`
 
Join Date: May 2007
Posts: 2,210

hawk900 has disabled reputation


What is the spell supposed to do.
__________________
hawk900 is offline   Reply With Quote
Old 11-17-2008, 10:20 PM   #4 (permalink)
 
Igor_Z's Avatar

User
 
Join Date: Jul 2008
Posts: 221

Igor_Z has little to show at this moment (7)


The spell is like dwarven sniper's ultimate skill on dotA. Anyways here is what is does: The dwarven sniper fires a projectile after waiting 2 seconds(2 seconds casting time)... The sniper is based off Storm Bolt ability that is already explained and done... The projectile damages and all but it doesn't hit invisible units... Thats why we have to share vision via triggers so when I share vision between the caster and the targeted unit of ability being cast something is malfunctioning. So I just need u to figure out how to share the vision between the caster and the target. Please help +rep
__________________
Here you see PTC sites. These sites are for earning money online... If u want more PM me and i will give them to you... Read the home page so that u know what are these sites for

http://www.buxout.com/?r=igorz
http://www.neobux.com/?r=igorz
http://www.sandraclicks.com/?ref=igorz
http://ptcnation.org/?ref=4b697b7a5c
http://www.roudycash.com/?r=igorz
Igor_Z is offline   Reply With Quote
Old 11-17-2008, 10:24 PM   #5 (permalink)
 
hawk900's Avatar

`
 
Join Date: May 2007
Posts: 2,210

hawk900 has disabled reputation


How would you see the unit if it was invisible anyway?

EDIT: Create a dummy with true sight, btw.
__________________
hawk900 is offline   Reply With Quote
Old 11-17-2008, 10:27 PM   #6 (permalink)
 
Igor_Z's Avatar

User
 
Join Date: Jul 2008
Posts: 221

Igor_Z has little to show at this moment (7)


No, with shared vision you don't see the unit(anyway i don't want to see the unit) i just want the storm bolt to damage the targeted invisible unit. It works with shared vision just explain what to change in my triggers
__________________
Here you see PTC sites. These sites are for earning money online... If u want more PM me and i will give them to you... Read the home page so that u know what are these sites for

http://www.buxout.com/?r=igorz
http://www.neobux.com/?r=igorz
http://www.sandraclicks.com/?ref=igorz
http://ptcnation.org/?ref=4b697b7a5c
http://www.roudycash.com/?r=igorz
Igor_Z is offline   Reply With Quote
Old 11-17-2008, 10:32 PM   #7 (permalink)
 
hawk900's Avatar

`
 
Join Date: May 2007
Posts: 2,210

hawk900 has disabled reputation


You can't turn on shared vision, and not see the unit.

I imagine that your problem is that Storm Bolt has flight time.
__________________
hawk900 is offline   Reply With Quote
Old 11-17-2008, 10:36 PM   #8 (permalink)
 
Igor_Z's Avatar

User
 
Join Date: Jul 2008
Posts: 221

Igor_Z has little to show at this moment (7)


Assassinate is made from Storm Bolt. Now listen try to make a trigger and then try to shoot with the storm bolt ability at the attacked unit u'll see that the storm bolt damages the target. Try shooting the storm bolt on the that unit... U will see that it doesn't reveal it but damages it... Then try fixing my triggers. Heres the trigger u need to make:

E: A unit is attacked
C: Unit type of attacking unit equal to your unit
A: Grant shared vision of attacked unit to attacking unit
__________________
Here you see PTC sites. These sites are for earning money online... If u want more PM me and i will give them to you... Read the home page so that u know what are these sites for

http://www.buxout.com/?r=igorz
http://www.neobux.com/?r=igorz
http://www.sandraclicks.com/?ref=igorz
http://ptcnation.org/?ref=4b697b7a5c
http://www.roudycash.com/?r=igorz
Igor_Z is offline   Reply With Quote
Old 11-18-2008, 12:46 AM   #9 (permalink)
 
StaberFire's Avatar

Gentleman & Scholar
 
Join Date: Jun 2008
Posts: 391

StaberFire has little to show at this moment (32)StaberFire has little to show at this moment (32)StaberFire has little to show at this moment (32)StaberFire has little to show at this moment (32)


Storm Bolt isn't an attack.. it's a spell. So I don't know what possessed you to use the event, "A unit is attacked".
__________________
Need a quick GUI Trigger fix? Want an interesting spell with which to impress your friends? Just ask, and I'll be happy to help.

Venture into the upside-down world of JASS, and you're on your own. I only know a few lines of code for cleaning up leaks.
StaberFire is offline   Reply With Quote
Old 11-18-2008, 01:31 AM   #10 (permalink)
 
Lord_BoNes's Avatar

Gamer
 
Join Date: Sep 2007
Posts: 147

Lord_BoNes has little to show at this moment (14)Lord_BoNes has little to show at this moment (14)


Create a dummy with true-sight (very small effect radius), order the dummy to "patrol" to <target unit> (this is the "follow" command in-game), make sure that the dummy has a very high movement/turning speed & movetype fly with 0 collision radius, then remove the dummy after a second or two.

Or you could try using "Firebolt" instead of "Stormbolt", that can target an area (which you can make the size of 1 unit), and it stuns, allowing you to see invisible units.

Temporary vision of target unit, with very little triggering.
__________________
- BoNes

"To kill one is a tragedy, to kill 10,000,000 is a statistic"
-Joseph Stalin
Lord_BoNes is offline   Reply With Quote
Old 11-18-2008, 01:45 AM   #11 (permalink)
 
hawk900's Avatar

`
 
Join Date: May 2007
Posts: 2,210

hawk900 has disabled reputation


Which is what I said.
__________________
hawk900 is offline   Reply With Quote
Old 11-18-2008, 04:03 AM   #12 (permalink)
 
GhostWolf's Avatar

Just another Nobody
 
Join Date: Jul 2007
Posts: 2,385

GhostWolf is a jewel in the rough (247)GhostWolf is a jewel in the rough (247)GhostWolf is a jewel in the rough (247)GhostWolf is a jewel in the rough (247)


This thread has won the "retarded" award. Congratulations to all the participants.
GhostWolf is offline   Reply With Quote
Old 11-18-2008, 05:34 AM   #13 (permalink)
 
Lord_BoNes's Avatar

Gamer
 
Join Date: Sep 2007
Posts: 147

Lord_BoNes has little to show at this moment (14)Lord_BoNes has little to show at this moment (14)


Quote:
Originally Posted by GhostWolf View Post
This thread has won the "retarded" award. Congratulations to all the participants.
WTF? Why?
__________________
- BoNes

"To kill one is a tragedy, to kill 10,000,000 is a statistic"
-Joseph Stalin
Lord_BoNes is offline   Reply With Quote
Old 11-18-2008, 08:27 AM   #14 (permalink)
 
Igor_Z's Avatar

User
 
Join Date: Jul 2008
Posts: 221

Igor_Z has little to show at this moment (7)


LOL guys i don't like to see the unit.. I have tryed a unit is attacked so u would try to attack the invisible unit an then target it with the storm bolt... Please Check out my test map... P.S: i don't want true sight because it reveals the unit on dota it doesn't reveal it but still damages it.... So try to help me with shared vision plz
__________________
Here you see PTC sites. These sites are for earning money online... If u want more PM me and i will give them to you... Read the home page so that u know what are these sites for

http://www.buxout.com/?r=igorz
http://www.neobux.com/?r=igorz
http://www.sandraclicks.com/?ref=igorz
http://ptcnation.org/?ref=4b697b7a5c
http://www.roudycash.com/?r=igorz
Igor_Z is offline   Reply With Quote
Old 11-18-2008, 08:36 AM   #15 (permalink)
 
GhostWolf's Avatar

Just another Nobody
 
Join Date: Jul 2007
Posts: 2,385

GhostWolf is a jewel in the rough (247)GhostWolf is a jewel in the rough (247)GhostWolf is a jewel in the rough (247)GhostWolf is a jewel in the rough (247)


Ok ok, stop this madness.

Explain exactly what the fuck you want. And stop copying abilities from DotA, like all the rest of you noobs. If you can't make your own abilities it's better already that you won't make anything.
GhostWolf is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Assassinate full ability i need Igor_Z Requests 5 11-22-2008 09:23 AM
[Unsolved] Morph Spell crashes if place as normal spell list for a hero RedFlash World Editor Help Zone 4 10-30-2008 02:54 PM
assassinate spell Gallin Triggers & Scripts 8 02-20-2008 03:53 PM
Assassinate the King MahulagAnghel Map Development 5 07-16-2007 05:32 PM

All times are GMT. The time now is 01:18 PM.






Your link here 
Credit Cards | Loans | Mortgage | Bankruptcy Certification | Debt Consolidation
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle