Talk:Weapons (Killing Floor)

From Tripwire Interactive Wiki
Revision as of 13:13, 23 November 2012 by Benjamin (talk | contribs) (Created page with "Weapon table generated with this: {{begin code}} local int i; local KFLevelRules KFLR; local string S; foreach AllActors(class'KFLevelRules', KFLR) break; for (i = 0; i <...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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); } }