HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

spell targeting ground?

02-23-2003, 04:05 PM#1
-={tWiStÄr}=-
This has probably been aked somewhere else but i dont feel like looking because im lazy but... I cant figure out how to make a spell be able to target the ground and not ground units. im making a mass teleport thats not mass i already got the not mass part but he also wants you to be able to go anywhere on the map and not just where your units.emote_confused
02-23-2003, 05:18 PM#2
Raziel
well if no one knows wait till frozen throne and take a look at blink :P
02-23-2003, 05:29 PM#3
FyreDaug
Yeah it's kinda of annoying when you can't teleport where you want.

You could try to change the targets for the spell to " _ ", don't know if it will work, never tried it, but give it a shot.
02-23-2003, 05:48 PM#4
-={tWiStÄr}=-
I tried "_" but that didnt work BUT it worked no all of the other spells :bangH: like blizzard and wards but i guess ill have to wait if no1 figures it out :(
02-23-2003, 06:10 PM#5
DaKaN
this will need some playing around with, but here is an idea on how you can do it...

make a new spell based off a ward, change the range to 9999 or something

unit is issued an order
order is = to healingward (i dont know the exact order command)


set (unit varible) = to last created unit (that should be the ward..)

pick every unit in unit group (units in region owned by player) and do move picked unit to postion of (Unit Varible)

now the region will be: convert point with size to region, the point will be triggering unit, and size.. 300x300 should be big enough, but that value can be played with.
02-23-2003, 06:15 PM#6
FyreDaug
Wow Dakan, that is brilliant! I never thought of that, I think it should work the way you want too.

Good one!:D
02-23-2003, 06:24 PM#7
Guest
You can also use a summoning. Edit the summon spell to range 99999, and use the unit code of some unit you aren't using in the game.

Then just create a trigger with the event: Unit is summoned with the condition that unit = your unit. Then hide the summoned unit and move your units to it, then remove from game. Add special FX, pan camera, whatever.
02-23-2003, 06:26 PM#8
FyreDaug
I think the ward would work better, you dont need to summon anything, remove anything, but still a good idea sid.
02-23-2003, 06:29 PM#9
STURMguy22
thats good sid, i had that idea too. using an infernal spell dummy
so far im able to make 2/3 types of spells trigger enhanced without JASS. For warstomp spells, basically set an event of the spell being ordered, take away control for .4 seconds, then give it back. For area spells like blizzard, i use a infernal dummy. as soon as the spell is cast (removing all fx from func.txt) remove the infernal, then trigger enhnace away. This could be used for a teleport to anywhere too
02-23-2003, 06:51 PM#10
Guest
Another way would be to summon a hidden unit at target and have it cast dark summoning on the caster's position. Same idea, but the special effects are already taken care of.