Resource icon

[Open Assets] Map Object Pickup (Updated for v2.2) (v3)

What permissions do you give others to modify and/or maintain your submission?
Modify: YES - Maintain: YES - I give permission for my entire submission to be modified by others or used in their own work. I give permission for my entire submission to be maintained by others as well.
10/2/2024 - Hey. This script is fairly old. This was created when I was trying to learn Lua. I don't recommend using this code in your projects. If you want to look at it and learn how it functions, please go ahead.

Second Verse, same as the first!

Flame said:
Oh hey, look who's back from the grave!
Here's a small tidbit of code that I made from a bigger project some time ago. Originally programmed in C and now updated to Lua.

Interact with Map Objects (Mobjs) in a totally different way!
Maybe mess with your friends?
PERHAPS YOU WANT TO PICK UP EACH OTHER?
1.0


USES
Use the Custom Action Button (2) to pick up and toss an object with the same button press!

Issues, problems or bugs?
  • In small scale, the only problem I've encountered was with Map objects that disappear, such as the rising pop-out spike object. I've created a workaround such that if the object is no longer valid, it allows you to pickup another object without error. (It doesn't produce an error in Lua at least!)
  • I am aware from the other thread that if you pick up a player and force them through a wall, the picked up player dies. I've attempted a workaround, however this has been left out as it produced odd behavior.

Other than that, the code hasn't been tested in large scale and I would be interested in knowing if there are any issues with the code. Please let me know of any issues that come up and what you may have been doing at the time of error, and I can make appropriate updates!
  • srb20002.gif
    srb20002.gif
    2.1 MB · Views: 393
  • srb20003.gif
    srb20003.gif
    2.7 MB · Views: 332
  • srb20004.gif
    srb20004.gif
    6.9 MB · Views: 387
Author
Flame
Views
1,326
First release
Last update

More resources from Flame

Share this resource

Back
Top