The Dink Network

Moving and button press

August 30th 2014, 08:59 AM
dragon.gif
Quiztis
Peasant He/Him Sweden bloop
Life? What's that? Can I download it?! 
Yo, if I move Dink with the move or move_stop function, is there any way to call a button script like key-80 during the move?
August 30th 2014, 09:22 AM
custom_skull.gif
Skull
Peasant He/Him Finland bloop
A Disembodied Sod 
Maybe you should elaborate a bit? Knowing what you were trying to achieve would help a bit. I assume the easiest way to do something like this would be to simply use a move -command and then just copy whatever you need from the button script, into the script with Dink walking.
August 30th 2014, 09:26 AM
dragon.gif
Quiztis
Peasant He/Him Sweden bloop
Life? What's that? Can I download it?! 
Ah, well if Dink moves with the move command, and the P key is pressed during the move, no pillbug can be heard. The engine seems to wait until Dink has stopped.
August 30th 2014, 09:27 AM
wizardg.gif
leprochaun
Peasant He/Him Japan bloop
Responsible for making things not look like ass 
I don't think you can do it with move_stop.

You should be able to use an external() during move() though.
August 30th 2014, 02:42 PM
custom_coco.gif
CocoMonkey
Bard He/Him United States
Please Cindy, say the whole name each time. 
move_stop doesn't let the game do anything else until the movement is done. Whenever I've wanted a move_stop and something else to happen simultaneously, I've had to start the other thing first.
August 30th 2014, 07:19 PM
dragon.gif
Quiztis
Peasant He/Him Sweden bloop
Life? What's that? Can I download it?! 
Drat, then I need to think of something to make this work. I hate thinking!
August 30th 2014, 07:55 PM
custom_skull.gif
Skull
Peasant He/Him Finland bloop
A Disembodied Sod 
Only solution I can think to this is to make Dink invisible, build temporary hardness around him (assuming you don't want the player to be able to walk around) and then use a "fake" for the walking Dink. I'm not sure how good this would end up looking, but it's the only way I can think of to make this at least somewhat possible.