scope Barracks import ObjEditingNatives @compiletime function create_w3u_h009 takes nothing returns nothing let u = createObjectDefinition("w3u", 'h009', 'hwtw') u.setString("uabi", "Aloc") u.setReal("usca", 1.45) u.setString("upat", "") u.setString("upap", "") u.setString("uubs", "") u.setString("umdl", "buildings\\human\\HumanBarracks\\HumanBarracks.mdl") u.setString("uani", "upgrade,second") u.setString("unam", "Barracks") u.setString("utar", "none") u.setInt("ubdg", 0) u.setUnreal("ucol", 0.0) u.setInt("uhom", 1) end endscope