HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger help

07-09-2004, 11:10 PM#1
THE_END
I am, as barely anyone knows, making a Soul Calibur 2 hero arena. And I do not know how to trigger this one ability. The ability is that the targeted unit is hit by the spell, non triggered, then sent flying backwards. Could someone tell me how to do this?
07-10-2004, 02:27 AM#2
Shimrra
I would say that you should try this:

Code:
Events:
    A unit begins casting an ability

Conditions:
    Ability being cast is equal to Knockback

Actions:
    Set Degree equal to facing degrees of casting unit
    For each integer A from 1 to 20 do actions
    Loop actions:
        Move (instantly) target unit of ability being cast to (Position of (target unit of ability being cast) offset by (5 * Integer A) towards Degree)
        Wait 0.10 seconds

Degree is a real variable.
07-10-2004, 08:17 AM#3
GaDDeN
Problem with knockback skills is that either it looks crappy, OR it starts lagging. When i try to make skills like this, i usually do some cool special effect backwards and then make an explosion or something cool where he lands and moves him there. But moving the unit slowly backwards does look kinda weird if you ask me.
07-10-2004, 01:59 PM#4
Shimrra
The speed of the knockback depends on the wait and the number of repetitions in a loop. You just have to experiment with different length waits and different distances and loop repetitions until you get what you want. I do agree that if you do the knockback too slowly that it will look strange.
07-10-2004, 05:55 PM#5
THE_END
Thanks for the feedback guys. I will try the posted trigger as soon as I can. Hopefully I like it, so thanks for the info!!!
07-10-2004, 10:06 PM#6
Vexorian
Knockback spells don't lag too much when they don't leak, to know more about leaks go to the tuturial section, cubasis wrote an anti leak tutorial there, that is a must be