Make a powerup respawn after 30 seconds when it was picked?
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Make a powerup respawn after 30 seconds when it was picked?
The title pretty much explains what I would like to do. How can this be done through DECORATE?
Re: Make a powerup respawn after 30 seconds when it was pick
Using latest development build features, I think you could do it like:
Code: Select all
ACTOR MySoulsphere : Soulsphere replaces Soulsphere
{
+INVENTORY.ALWAYSRESPAWN
Inventory.RespawnTics 1050 //30 seconds
}
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Re: Make a powerup respawn after 30 seconds when it was pick
Thanks, I will try just that