• 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.

[General] Custom Ability to Teleport on a unit

Status
Not open for further replies.
Level 4
Joined
Sep 6, 2012
Messages
88
Hi everyone !

The title says itself. I want to create a custom item that functions like Boots of Travel in DotA. It makes the user being able to target either an organic unit, a building or the ground as the teleport destination, and the teleportation only affects the user, not an area of nearby units. Can anyone tell me how to make this happen ?

Thank you very much !
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Read this first.

So... like Blink, but then with a unit-target as well? You could use "Channel" (Neutral Hostile/Hero) as a base ability. In Data - Options, check "Visible"; Data - Target Type should be "Unit and point target"; Data - Disable other abilities should usually be false; Stats - Target Allowed is Ground/Organic (maybe?).
A teleportation-trigger is very simple, but I'm just going to wait for further information first.
 
Level 4
Joined
Sep 6, 2012
Messages
88
Thanks for replying !

I thought I explained everything there, but if there's something unclear for you, I can explain again.

This ability only does one thing, which is to teleport the user to a position he/she clicks at. The way it functions should be exactly like normal scrolls of town portal, only with more targets allowed (organic units + buildings + ground instead of just Town Hall) and the ability only teleports the user, not any nearby friendly units.

I hope this is a bit more specific and can help you understand what I was trying to make. I will try to base the ability on Channel, but I'm still not sure about how to write a teleportation trigger. Can you show me an example ?

Thanks in advance !
 
Use Mass Teleport and set the Number of Units Teleported to 0. That way, only the caster is teleported and no need for Teleportation triggers.


Untitled.jpg


Edit: And by the way, I didn't know Boots of Travel can target plain empty ground. In that case, set the Targets Allowed to Terrain. I think that fixes that.

1 more thing is taht the skill wont interupt the movement or action of the target that it cast on (meaning when u target the tower, the tower will continue what it is doing, not like the Scroll of Town Portal.). I cant figure out how to do it to help him >.<.
Oops forgot that. It's one thing that DotA doesn't fix either. Once you travel to an ally the ally will stop until killed by the enemy.
Just use timer to pause and unpause unit while casting(or set Casting Delay to 0.01 to have no pause at all)

Casting Delay is just above the number of units teleported.
 
Last edited:

Kusanagi Kuro

Hosted Project: SC
Level 10
Joined
Mar 11, 2012
Messages
708
1 more thing is taht the skill wont interupt the movement or action of the target that it cast on (meaning when u target the tower, the tower will continue what it is doing, not like the Scroll of Town Portal.). I cant figure out how to do it to help him >.<.
 
Status
Not open for further replies.
Top