| 07-27-2006, 07:14 PM | #1 |
Okay, i need some help or directions, creating an ability. I want to make an ability wich throws a shuriken, and then damages the first unit hit by this shuriken, even if it is an ally, or even the caster itself. I know this sounds weird but it is because in my map, there is an ability to switch place with someone, and doing so should enable you to turn this shuriken thrown by your enemy into your own weapon, by making them hit themselves. But i will need so directions on how to make this spell. Im using GUI and i would like the spell to be MUI. I havent made any triggers so far, cause im more trying to get an idea on how to do it. I guess if i want it to be MUI i cant really make a periodic trigger moving it, and if that was doable, how do i detect collision and such. Directions or even examples would be much appreciated. EDIT: If it is 100% necesary, i might be able to use minor jass, but i havent really had the time to learn jass, since i didnt really like it. |
| 07-27-2006, 08:57 PM | #2 |
If it was in GUI without using Jass, i would create a dummy unit (with the model of the shuriken), order it to move to the target loc, and in another trigger, periodic event, pick every shuriken and if theres a unit within 5-10 range, damage it and remove the shuriken. |
| 07-28-2006, 06:50 AM | #3 |
But, when i order it to move, wouldnt the maximum movement speed be 522, or something like that? I want this shuriken to move at something like 700-800 speed, or can that be fully changed with gameplay constants? I will try, thanks. |
| 07-28-2006, 07:04 AM | #4 |
use move unit instantly instead of ordering it to move. not instantly to the target location, i mean. you need to set up a periodic trigger to move the shuriken instantly on an angle near his last position. |
| 07-28-2006, 07:15 AM | #5 |
But then you'll have tough MUI problems... GUI SUX LEARN JASS |
| 07-28-2006, 10:05 AM | #7 |
Odd, I actually made an ability called Shuriken for my map that works exactly like you say. It's in pure Jass however using the CS system collition projectiles. I wont post it since it is too dependant on a lot of my maps auxiliary functions and can't just be copied into your map. And since you don't use JASS you can't learn from it either, so tough luck :) |
| 07-28-2006, 10:20 AM | #8 | |
Quote:
Lololol, 522 max movespped is in Dota :), to change the max movespeed just change it in under Advance - Gameplay Constants - Unit - Maximum movement speed. And change it to the shurkien. Also add a locut ability so you cant select it. |
| 07-28-2006, 10:31 AM | #9 |
Thought you couldn't go over 522........ Thats a War3 thing not DotA! |
| 07-28-2006, 12:28 PM | #10 |
You can't go over 522. Freakazoid, please do not post such nonsense. |
| 07-28-2006, 01:01 PM | #11 |
okay, since it seems that most people just bitch you, or doesn't even care to response (Notice i said some people, not all), when the problem is in GUI, i have started to learn jass, im pretty far and got alot of understance, i already tryed the "Simple" stomp spell tutorial by Blade, but i can't get it to work, i get 90 compile errors using nothing but the simple version :( It seems like his and my code is identical, but someone mentioned something about a return exploit, and i did create the H2I and such in the custom script of the map. Also now that i have started to learn jass, any help or directions on what i should try to do first and such would be very appreciated. I plan on using jass to make trigger enchanced spells some time in the future, but right now i cant make a very useful spell. EDIT: Ok, i found the problem in his simple stomp spell court. The spell works now, only problem is that they get pushed back just abit too long . But im starting to get the hang of jass.EDIT 2: Anyone who would be willing to help me create a Jass MUI shuriken throw spell? |
