Quantcast
Channel: ZDoom
Viewing all articles
Browse latest Browse all 3391

Scripting • Is there a Zscript pointer for inventory giver?

$
0
0
So here's what I'm trying to do: I'm trying to make a doomsday button as a special rare Deathmatch item. It's a weapon that when triggered, instantly kills all the players in the entire map including the one who triggered it. I figured the way to do it is with A_RadiusGive which can give an item to every player, even through walls. The inventory item is auto-used and causes the players to die. The problem is that then the player who triggered the attack doesn't get frags for the kill unless I can somehow use Zscript to check the inventory giver. Is there a way to do this? Or is there some other way to accomplish all this that I didn't think of?

Thank you!

Statistics: Posted by Heisanevilgenius — Mon Dec 23, 2024 4:41 pm



Viewing all articles
Browse latest Browse all 3391

Trending Articles