Talk:Weapons (Killing Floor)

From Tripwire Interactive Wiki
Jump to: navigation, search

Weapon table generated with this:

:

local int i; local KFLevelRules KFLR; local string S;

foreach AllActors(class'KFLevelRules', KFLR) break;

for (i = 0; i < ArrayCount(KFLR.ItemForSale); i++) { if (KFLR.ItemForSale[i] != none) { S = ""; S $= "| "; S $= class<KFWeaponPickup>(KFLR.ItemForSale[i]).default.ItemName; S $= " || "; S $= GetItemName(string(class<KFWeaponPickup>(KFLR.ItemForSale[i]).default.InventoryType)); S $= " || "; S $= GetItemName(string(KFLR.ItemForSale[i])); Log("|-"); Log(S); } }