04-17-2010, 12:23 PM
how do i adjust the distance of my character from the enemy when teleporting beside it? thx for the reply
[solved] a quick question regarding teleportation
|
04-17-2010, 12:23 PM
how do i adjust the distance of my character from the enemy when teleporting beside it? thx for the reply
04-17-2010, 12:32 PM
You can use a dvx: ??? in the frame after you teleport together with a wait: 0 and in the frame after you teleport use dvx: 550.
The highter the first dvx: the closer to the enemy you will appear, the lower the farther away you appear.
Age ratings for movies and games (and similar) have never been a good idea.
One can learn a lot from reinventing wheels. An unsound argument is not the same as an invalid one. volatile in C++ does not mean thread-safe. Do not make APIs unnecessarily asynchronous. Make C++ operator > again Trump is an idiot. Thanks given by: urboyfriend
04-17-2010, 01:32 PM
Btw, if you use state:400 to teleport to an enemy, you will appear in 120px distance (therefore, if you want to appear in punching range, you should use dvx 90-100).
Teleporting to allies with state: 401 will make you appear in 60px distance ^^ My Creations: (Click to View) Return (String) System.getNewsOfTheDay(); Barely active, expect slow responses. If at all. Greetz, Alblaka Thanks given by: urboyfriend
04-20-2010, 02:36 AM
(This post was last modified: 04-20-2010, 02:55 AM by urboyfriend.)
err, to be honest, i didnt get all of that sorry, =/ thx for the answers though
btw i made a dirty fix by making a slide effect towards the enemy after teleporting beside them Code: <frame> 283 teleport
04-20-2010, 02:42 AM
just substitute the first frame's dvx 10 with dvx 120(for enemy) or 60(for ally) to appear at the exact location where they are. in the second frame use dvx 550 to stop him. please use the code=dc tags.
Thanks given by: urboyfriend
|
« Next Oldest | Next Newest »
|