Drops all clothes/wearables this character is carrying on themselves.
7001 {
7002 array<EntityAI> itemsArray = new array<EntityAI>;
7005 int count = itemsArray.Count();
7006
7007 for (int i = 0; i < count; ++i)
7008 {
7009 Class.CastTo(item, itemsArray.Get(i));
7010
7011 if (item && !item.IsInherited(SurvivorBase))
7012 {
7013 ServerDropEntity(item);
7014 }
7015 }
7016 }
class GP5GasMask extends MaskBase ItemBase
InventoryTraversalType
tree traversal type, for more see http://en.wikipedia.org/wiki/Tree_traversal