Modify a Resurrection script

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

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!)
Post Reply
User avatar
Mini--Joe
Posts: 96
Joined: Sun Jul 27, 2014 10:25 am

Modify a Resurrection script

Post by Mini--Joe »

viewtopic.php?f=37&t=56903

I want to modify this guy's zscript to require and remove 50 of something from a players inventory when they go to revive a Co-op partner.

I tried to insert CheckInventory() and RemoveInventory() in various places in the code, but everything that I have tried so far doesn't work, probably because of some important detail that I don't understand about zscript yet.
Post Reply

Return to “Scripting”