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

Scripting • Re: Is there a way to reference AmmoType1/AmmoType2 when using A_TakeInventory/A_GiveInventory?

$
0
0
A_TakeInventory(invoker.AmmoType1, 1)
This should suffice, as long as you're using ZScript and not DECORATE. If it doesn't work for you, could you please provide a small runnable example to replicate the problem?

Statistics: Posted by Player701 — Fri Nov 22, 2024 12:00 am



Viewing all articles
Browse latest Browse all 3391

Trending Articles