Hmm, the following simple Actor should also work (partially tested):SC]-[WARTZ_{HoF} wrote:You would need to use a mutator to change this value.
Code: Select all
class GimmeMoreDemeers expands Actor;
event PostBeginPlay() {
local WarheadAmmo WA;
foreach AllActors(class'WarheadAmmo', WA)
{
WA.Default.MaxAmmo = 5;
WA.MaxAmmo = 5;
}
Destroy();
}
I should mention that settings concerning default properties may remain at map switching - at least I noticed that on my server. If that setting is intended for your maps only and not for a server, you should consider better using a mutator.
</EDIT>