
scope ScoutTower initializer init
	import ObjEditingNatives

	function init takes nothing returns nothing
		create_w3u_h006()
	end

	@compiletime function create_w3u_h006 takes nothing returns nothing
		if compiletime
			let u = createObjectDefinition("w3u", 'h006', 'hwtw')
			u.setString("uabi", "Aloc")
			u.setReal("usca", 1.5)
			u.setString("upat", "")
			u.setString("upap", "")
			u.setString("uubs", "")
			u.setString("utar", "none")
			u.setInt("uhom", 1)
		else
			CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE), 'h006', - 1280.0, 3200.0, 270.000)
			CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE), 'h006', - 1280.0, 2752.0, 270.000)
			CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE), 'h006', - 2432.0, 2176.0, 270.000)
			CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE), 'h006', - 2048.0, 2176.0, 270.000)
		end
	end
endscope
