Talk:Weapons (Killing Floor): Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
(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 <...")
 
(No difference)

Latest revision as of 13:13, 23 November 2012

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); } }