Items spawned on death - force spawn on floor?
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
-
- Posts: 27
- Joined: Mon Nov 18, 2024 3:08 pm
Items spawned on death - force spawn on floor?
Say if an enemy is flying, and then they die, how do you keep the item from floating in the air where the enemy died, and rather, have it drop down to the floor? I tried +FLOORCLIP, but I don't think it applies here.. A quick flip through the wiki's gravity entry yielded no insight either.. Shouldn't this be default behavior?
-
-
- Posts: 1845
- Joined: Sun Jul 21, 2019 8:54 am
Re: Items spawned on death - force spawn on floor?
Items falling to the floor is the default behavior, which means that something else is messing with your items.
Make sure they don't have the +NOGRAVITY flag set.
Make sure they don't have the +NOGRAVITY flag set.