Is a telekinesis attack possible, like the Force?

Dr. Scorpio

Member
Hey all!
I wanted to add a telekinesis special attack to one of my players. I want them to be able to grab objects out of a 2D type background platformer. I thought about using anim Grab, anim GRABWALK, and drawing the frames (but I don't think it will work out the way I want it to).
 
If you look at slam scripts, you can modify it to acquire any active enemy without ever touching the enemy first. IOW telekinesis or grabbing enemy from far is possible.
I'll generalize it to just entity as the telekinesis target.

The real question is how do you pick the target?
1. Do you pick any random entity?
OR
2. Do you pick closest entity in front of player?
OR
3. Do you pick closest entity to player? regardless of entity relative location's to player
OR
4. Do you pick entity at certain range? if there's nothing within that range, then no grabbing is done
OR
5. Something else?

That's with assumption that ungrabbable objects such as decorations and special effect entities are excluded.

So how do you pick the target?
 
Target.... yea hmmm. Damn

(I just thought of this, not sure if it'll work).... Maybe, I could give Freespecial anim some aim, multi directions, and extra range in attackboxs with an elemental property (like "Burn") that effects certain entities, pulling them in using "Move and MoveA" then pushing them out in their pain anim with offscreen kill. Like Magneto, the player could rip off a metal panel (or something) and throw it at their enemies. Like if the entity (object being thrown) was on the ceiling in a platformer, I could assign the up pad to aim UP, press A2 or whatever to pull the entity down then add some delay and frames to pause it, then release it on to the enemy using the "move' command. The entity (object being thrown) would have a quick flash or outline so that you know that you can use your powers to grab it from a far. The only problem I see with this, is that all of those frames would be done in one button sequence. 
 
Back
Top Bottom