| 10-07-2003, 05:50 PM | #1 |
This spell is something like teleport kick, based off Blink or Teleport. I want a hero able to Blink or Telport on an ENEMY unit only, also it deals damage. help as fast as you can thanks |
| 10-07-2003, 05:51 PM | #2 |
What do you mean by "on" a unit? On it's head or what? |
| 10-07-2003, 06:11 PM | #3 |
CoFFeiN please hide this pic i can't even concentrate to answer him... in fact what i think he wanted to ask is can u make a teleport spell that is cast on an enemy units and that propel the enemy somewhere backward and deal damage to that enemy. thats what i think he meaned by teleport kick....(i might be wrong) as i sux with jass or hero trigger i live to other better people the answer. |
| 10-07-2003, 06:58 PM | #4 | |
Quote:
yes, that's what i ment, help plz thx. |
| 10-07-2003, 08:18 PM | #5 |
Zoizite has made a spell similar to what you described.. I kinda know how he did his but im not certain. (Zoi hasnt been on these forum for like 2-3 weeks now though) create a unit variable named knockbackTarget create a unit variable named knockbackCaster E- a unit issues order to an object C- issued order equals to order(shadowstrike) A- set knockbackTarget = target unit of issued order E- a unit starts the effect of an ability C- ability being cast equals to () <----- insert your spell here A- set knockbackCaster = casting unit A- move knockbackTarget offset by 50 towards the angle from knockbackCaster to knockbackTarget facing knockbackTargets degree A- wait .3 secs A- move knockbackTarget offset by 100 towards the angle from knockbackCaster to knockbackTarget facing knockbackTargets degree A- wait .3 secs A- move knockbackTarget offset by 150 towards the angle from knockbackCaster to knockbackTarget facing knockbackTargets degree repeat as necessary........... *** another way of doing this is this *** create a unit variable named knockbackTarget create a unit variable named knockbackCaster E- a unit issues order to an object C- issued order equals to order(shadowstrike) A- set knockbackTarget = target unit of issued order E- a unit starts the effect of an ability C- ability being cast equals to () <----- insert your spell here A- set knockbackCaster = casting unit A- turn on trigger#3 A- wait 2 secs <---- this determins how far the knockbackTarget is 'knocked back' (or you can change the offset value) A- turn off trigger #3 trigger#3 E- every .3 secs A- A- move knockbackTarget offset by 50 towards the angle from knockbackCaster to knockbackTarget facing knockbackTargets degree The only problem I know of is that if the unit is knocked back into a wall/cliff/tree the unit would be stuck.. to fix this you need to make an integer variable that checks the height. if the height is > or < then the height the knockbackTarget is on, then turn off trigger#3. The 'bug' is that the knockbackTarget will be stopped if hes is knock back into a ramp. |
| 10-07-2003, 08:58 PM | #6 |
but as i understood he wanted a spell based on blink with wich you "jump" ON an enemy and knock him little back and do damage... maybe mass-teleport would be better... dunno |
| 10-07-2003, 09:20 PM | #7 |
if the original poster wants a the unit to 'jump' (which I doubt) heres the thread explains how to make a 'jumping' unit.. it even has a demo map http://www.wc3campaigns.com/forums/s...highlight=jump With the combination of 'jumping' and 'knocking back', these triggers could be very frustrating |
