scope KeepSmall initializer init import ObjEditingNatives function init takes nothing returns nothing create_w3u_h00G() end @compiletime function create_w3u_h00G takes nothing returns nothing if compiletime let u = createObjectDefinition("w3u", 'h00G', 'hwtw') u.setString("uabi", "Aloc") u.setReal("usca", 0.5) u.setString("upat", "") u.setString("upap", "") u.setString("uubs", "") u.setString("umdl", "buildings\\human\\TownHall\\TownHall.mdl") u.setString("uani", "upgrade,first") u.setString("unam", "Keep Small") u.setString("utar", "none") u.setInt("ubdg", 0) u.setUnreal("ucol", 0.0) u.setInt("uhom", 1) else CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE), 'h00G', 4054.6, 4663.3, 329.050) CreateUnit(Player(8), 'h00G', 3745.4, 3938.7, 232.990) end end endscope