problem grab items

monomartin

Active member
Hello friends, I decided to finish my double dragon plus and I have some problems, to see if you can help me, I am

using "grabdistance 5" in the player, the problem is that it also modifies the grip of the items, that is, it is

difficult to grab the weapons, is there a way to separate grip range from enemies and items? and the other problem

that I can't solve is, and copied the way of walking (step by step) of the original double dragon, it works well in

all directions, except when I walk up, I can't get it back on "back" the position of "idle" there is a way to make

it come back to "idle" I hope you understand what I say, in a few days I will upload a video of what I say, on the

other hand the game is practically ready. Thank you
 
using "grabdistance 5" in the player, the problem is that it also modifies the grip of the items
Yes, grabdist is tied to many other things. This was made long time ago (If I am not wrong, Roel  did it) to save some memory.
But there are side effects like this :(

It would require some script to bypass it. In fact, I would let the grabdistance alone and would go with a script to change the enemy position, so it would bring the enemy closer.

except when I walk up, I can't get it back on "back" the position of "idle" there is a way to make

it come back to "idle"

You mean that when you play the UP animation and when you stay still, the character doesn't go back to the idle? I think its how it works, no?
You can make the entity revert to idle with setidle() function, but it could be a little tricky to trigger - maybe with the "animation" flag?
 
what I mean is that when it is "up" if I stop walking up automatically it changes to "idle" by default, the idea is to be in a frame of the "up" animation as soon as I can upload a video
 
Back
Top Bottom